From d4df68c42691ead960b84bd83c0092f252ed9642 Mon Sep 17 00:00:00 2001 From: Luyao Huang Date: Mon, 18 Nov 2019 11:01:17 +0800 Subject: [PATCH] Fix print function usage to suit python3 Signed-off-by: Luyao Huang --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6893e3c..efde169 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ def finalize_options(self): def run(self): output_format = sys.stdout.isatty() and "colorized" or "text" - print "running pep8" + print("running pep8") cmd = "pep8 " cmd += "--config tests/pep8.cfg " cmd += " ".join(CHECK_FILES) @@ -65,7 +65,7 @@ def run(self): if r != 0: sys.exit(r) - print "running pylint" + print("running pylint") cmd = "pylint " cmd += "--rcfile tests/pylint.cfg " cmd += "--output-format=%s " % output_format