usertools: fix CPU layout script to be PEP8 compliant
authorCiara Power <ciara.power@intel.com>
Fri, 6 Nov 2020 12:40:53 +0000 (12:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Nov 2020 14:40:21 +0000 (15:40 +0100)
commitb0dcd610529487ed6661351a735a35af5d03a222
tree2ba686af5d74eedad91ee2ee2e71502d1a49c3f1
parent242623459e5e534a99e32e20ffcf12e6f56c2f51
usertools: fix CPU layout script to be PEP8 compliant

The pycodestyle tool flagged the following issues, which are now fixed.

$ pycodestyle cpu_layout.py
  cpu_layout.py:18:5: E722 do not use bare 'except'
  cpu_layout.py:62:14: E231 missing whitespace after ','

Fixes: deb87e6777c0 ("usertools: use sysfs for CPU layout")
Fixes: c9208f1dc967 ("usertools: fix CPU layout with python 3")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
usertools/cpu_layout.py