python: Stop use of tuple parameter unpacking
authorRussell Bryant <russell@ovn.org>
Mon, 14 Dec 2015 19:22:21 +0000 (14:22 -0500)
committerRussell Bryant <russell@ovn.org>
Tue, 12 Jan 2016 16:47:33 +0000 (11:47 -0500)
commit66d61c90a79db159cc43e3f17c57d83d9a99453f
tree4562d89d6588e18e8d8ec345457564d623809feb
parent3ab76c56d88bcdb5d3993ed8c793312a754b7315
python: Stop use of tuple parameter unpacking

Python 3 removed support for tuple parameter unpacking.

https://www.python.org/dev/peps/pep-3113/

Instead of:

    def foo((a, b)):
        print(a)
        print(b)

you should do:

    def foo(a_b):
        a, b = a_b
        print(a)
        print(b)

but in both uses here, the values were never used so the fix is even
simpler.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
python/ovstest/udp.py