Skip to content

Commit

Permalink
Fix print function usage to suit python3
Browse files Browse the repository at this point in the history
Signed-off-by: Luyao Huang <[email protected]>
  • Loading branch information
LuyaoHuang committed Nov 18, 2019
1 parent e57a892 commit d4df68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit d4df68c

Please sign in to comment.