[dpdk-dev] [PATCH] devbind: don't display non-existent device categories
Thomas Monjalon
thomas at monjalon.net
Mon Nov 19 00:13:00 CET 2018
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
More information about the dev
mailing list