On Thu, 17 Oct 2019 19:32:12 +0200
Robin Jarry <[email protected]> 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 <[email protected]>
> Cc: Ciara Power <[email protected]>
> Cc: Kevin Laatz <[email protected]>
> Cc: Reshma Pattan <[email protected]>
> Cc: [email protected]
> Signed-off-by: Robin Jarry <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>