1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 10:25:06 +03:00

rule-syntax-check.py: use print()

This commit is contained in:
Kay Sievers 2011-05-31 02:18:33 +02:00
parent c112873b5b
commit be903bf9c4

View File

@ -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