On 18-Nov-18 11:13 PM, Thomas Monjalon wrote:
13/11/2018 17:42, Anatoly Burakov:
--- a/usertools/dpdk-devbind.py
+++ b/usertools/dpdk-devbind.py
+ n_devs = len(dpdk_drv) + len(kernel_drv) + len(no_drv)
+
+ # don't bother displaying anything if there are no devices
+ if n_devs == 0:
+ msg = "No '%s' devices detected" % device_name
+ print("")
+ print(msg)
+ print("".join('=' * len(msg)))
+ return
+
Indentation is wrong here:
TabError: inconsistent use of tabs and spaces in indentation
Oops, auto indentation in my editor strikes again... i'll submit a v2.
--
Thanks,
Anatoly