Skip to content

Commit 82e9f5f

Browse files
authored
Merge pull request #3019 from auscompgeek/patch-1
lintlib: Use Python 3 compatible print
2 parents 99a087b + 9bb68b8 commit 82e9f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/lintlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def parse_lints(lints, filepath):
4444
last_comment.append(line[3:])
4545
elif line.startswith("declare_lint!"):
4646
import sys
47-
print "don't use `declare_lint!` in Clippy, use `declare_clippy_lint!` instead"
47+
print("don't use `declare_lint!` in Clippy, use `declare_clippy_lint!` instead")
4848
sys.exit(42)
4949
elif line.startswith("declare_clippy_lint!"):
5050
comment = False

0 commit comments

Comments
 (0)