]> git.ipfire.org Git - thirdparty/patchwork.git/commit
pwclient: use print_function for better py3 compatibility
authorMike Frysinger <vapier@chromium.org>
Fri, 16 Oct 2015 21:15:30 +0000 (17:15 -0400)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 16 Oct 2015 22:20:58 +0000 (23:20 +0100)
commitf9c7cceb3ae5745d6a9d65f8a1733e03c90ca782
tree70888289ac2830e181f7a89290a3ff5d5b7ddcc5
parent703207007ebb7af48e359b64950aea0602d198b4
pwclient: use print_function for better py3 compatibility

The script already tries to use print like a function in many places but
is really passing a parenthesized string.  Import the print_function from
the future module so that it actually works as intended.

We also need to fix up a few latent print statements to make it work.

Signed-off-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Stephen Finucane <stephen.finucane@hotmail.com>
patchwork/bin/pwclient