Skip to content

Commit

Permalink
lintlib: Use Python 3 compatible print
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek authored Aug 9, 2018
1 parent 99a087b commit 9bb68b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/lintlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def parse_lints(lints, filepath):
last_comment.append(line[3:])
elif line.startswith("declare_lint!"):
import sys
print "don't use `declare_lint!` in Clippy, use `declare_clippy_lint!` instead"
print("don't use `declare_lint!` in Clippy, use `declare_clippy_lint!` instead")
sys.exit(42)
elif line.startswith("declare_clippy_lint!"):
comment = False
Expand Down

0 comments on commit 9bb68b8

Please # to comment.