[dpdk-dev] [PATCH v3] usertools: fix input handling in telemetry script

Thomas Monjalon thomas at monjalon.net
Thu Aug 8 17:32:42 CEST 2019


08/08/2019 16:37, Andrius Sirvys:
> This commit removes the unnecesarry ast.literal_eval() function call
> from the input handling, which now relies just on raw_input() to get
> its input.
> 
> Fixes: 53f293c9a783 ("usertools: replace unsafe input function")
> Cc: andrius.sirvys at intel.com
> 
> Signed-off-by: Andrius Sirvys <andrius.sirvys at intel.com>
> ---
> v2: Removed unnecessary comments
> v3: Reduced scope of changes only to required Python 2 fix
> 
> Please note that the dpdk-telemetry-client.py script has a number of
> issues with Python3 support. Fixing Python3 support is being deferred
> to DPDK 19.11 release.

OK, hope it will be good enough for 19.08.
Applied, thanks





More information about the dev mailing list