summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/rule-syntax-check.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rule-syntax-check.py b/test/rule-syntax-check.py
index 6cb021518..a94a965a4 100755
--- a/test/rule-syntax-check.py
+++ b/test/rule-syntax-check.py
@@ -55,9 +55,9 @@ for path in sys.argv[1:]:
if not (no_args_tests.match(clause) or args_tests.match(clause) or
no_args_assign.match(clause) or args_assign.match(clause)):
- print 'Invalid line %s:%i: %s' % (path, lineno, line)
- print ' clause:', clause
- print
+ print('Invalid line %s:%i: %s' % (path, lineno, line))
+ print(' clause:', clause)
+ print()
result = 1
break