chiark / gitweb /
rule-syntax-check.py: use print()
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 31 May 2011 00:18:33 +0000 (02:18 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 31 May 2011 00:18:33 +0000 (02:18 +0200)
test/rule-syntax-check.py

index 6cb0215..a94a965 100755 (executable)
@@ -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