chiark / gitweb /
rule_generator: fix to install rules in rules.d/
[elogind.git] / test / rule-syntax-check.py
index 6cb021518d542bae24c874756e2cc3aa419c611b..a94a965a48d53115ca14f985b961f28d531ca8cc 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)):
 
             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
 
                 result = 1
                 break