From: Kay Sievers Date: Tue, 31 May 2011 00:18:33 +0000 (+0200) Subject: rule-syntax-check.py: use print() X-Git-Tag: 174~108 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be903bf9c48b41bdfcff205efa5fc593b7174e86;p=systemd rule-syntax-check.py: use print() --- diff --git a/test/rule-syntax-check.py b/test/rule-syntax-check.py index 6cb02151..a94a965a 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