Ran dpdk-pmdinfo through Python3 lint and it had lots of complaints. These are the obvious simple ones to fix. Skipped adding docstrings everywhere and doing large scale variable recasing.
v2 - split out the pmdinfo specific part incorporate feedback from Bruce about last use of len() Stephen Hemminger (7): dpdk-pmdinfo: replace string.split with split dpdk-pmdinfo: replace io.open with open dpdk-pmdinfo: remove unnecessary paren and else dpdk-pmdinfo: replace is False and is True dpdk-pmdinfo: fix indentation dpdk-pmdinfo: replace deprecated optparse with argparse dpdk-pmdinfo: do not use len(x) to test for empty usertools/dpdk-pmdinfo.py | 132 ++++++++++++++++++-------------------- 1 file changed, 61 insertions(+), 71 deletions(-) -- 2.27.0