mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
rule-syntax-check.py: use print()
This commit is contained in:
parent
c112873b5b
commit
be903bf9c4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user