tools: Fix typo in dpdk_nic_bind.py script.
PATCH 1/1 tools: Fix typo in dpdk_nic_bind.py script.
We should call sys.exit(), not divide sys by exit().
Signed-off-by Jeff Shaw <[email protected]>
--- tools/dpdk_nic_bind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/dpdk_nic_bind.py +1 -1
@@ -317,7 +317,7 @@ def unbind_one(dev_id, force): f = open(filename, "a") except: print "Error: unbind failed for %s - Cannot open %s" % (dev_id, filename) - sys/exit(1) + sys.exit(1) f.write(dev_id) f.close()
Signature · 1 line
2.1.0
Quoted 3 lines · Jeff Shaw
We should call
sys.exit(), not divide sys byexit().Signed-off-by Jeff Shaw <[email protected]>
Acked-by Bruce Richardson <[email protected]>
Thomas Monjalon
Applied2016-02-09 11:10, Bruce Richardson:
Quoted 2 lines · Jeff Shaw
Quoted 1 line
We should call
sys.exit(), not divide sys byexit().
Obviously :)
Quoted 3 lines
Quoted 1 line
Signed-off-by Jeff Shaw <[email protected]>Acked-by Bruce Richardson <[email protected]>
Applied, thanks