On Thu, Jan 24, 2019 at 04:45:42PM +0900, Masashi Honma wrote: > This patch is made by using 2to3 command. > > $ find . -name *.py | xargs 2to3 -f print -w -n This seems to break couple of things: > diff --git a/tests/hwsim/vm/parallel-vm.py b/tests/hwsim/vm/parallel-vm.py > - print("\rStarting virtual machine {}/{}".format(i + 1, num_servers)), > + print(("\rStarting virtual machine {}/{}".format(i + 1, num_servers)), end=' ') This needs "from __future__ import print_function" to work with python2. > - print > + print() I guess same workaround could be used here as well since python2 would print out "()\n" here instead of the expected "\n". Converting this to "print('')" looks safer. I handled those manually through the patch, so no need to send an updated version. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap