tools: support Python 3 in bind script
authorDawid Jurczak <dawid_jurek@vp.pl>
Wed, 27 Jan 2016 19:59:44 +0000 (20:59 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 9 Feb 2016 11:54:09 +0000 (12:54 +0100)
commit16c1814c802c205f6d3c32e3d3d10de9f87e7f22
tree3ce6421c47dd19aa94623e4b046197913e7584cb
parentda82ee17e6ea99bf2931383ac33b0caccaaaefce
tools: support Python 3 in bind script

This patch fixes syntax errors during binding ethernet device
on systems where Python 3 is default.
Backward compatibility with Python 2 is preserved.

Signed-off-by: Dawid Jurczak <dawid_jurek@vp.pl>
tools/dpdk_nic_bind.py