On Thu, 17 Oct 2019 19:32:12 +0200 Robin Jarry <robin.ja...@6wind.com> wrote:
> When running the dpdk-telemetry-client.py with python 3, we get the > following syntax errors: > > File "usertools/dpdk-telemetry-client.py", line 70 > print "\nResponse: \n", str(data) > ^ > SyntaxError: invalid syntax > > File "usertools/dpdk-telemetry-client.py", line 93 > print "\nResponse: \n", str(data) > ^ > SyntaxError: invalid syntax > > File "usertools/dpdk-telemetry-client.py", line 111 > file_path = sys.argv[1] > ^ > TabError: inconsistent use of tabs and spaces in indentation > > Import print_function from __future__ and add parentheses where missing. > Also, use spaces for indentation everywhere. > > Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry") > Fixes: 53f293c9a783 ("usertools: replace unsafe input function") > Fixes: 4080e46c8078 ("telemetry: support global metrics") > Cc: Andrius Sirvys <andrius.sir...@intel.com> > Cc: Ciara Power <ciara.po...@intel.com> > Cc: Kevin Laatz <kevin.la...@intel.com> > Cc: Reshma Pattan <reshma.pat...@intel.com> > Cc: sta...@dpdk.org > Signed-off-by: Robin Jarry <robin.ja...@6wind.com> Acked-by: Stephen Hemminger <step...@networkplumber.org>