diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-31 02:18:33 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-31 02:18:33 +0200 |
commit | be903bf9c48b41bdfcff205efa5fc593b7174e86 (patch) | |
tree | 785fc59895e215d86aff76397ea9df6e38574771 /test | |
parent | c112873b5bc9ebbae39c32f502bc6211f33546cc (diff) |
rule-syntax-check.py: use print()
Diffstat (limited to 'test')
-rwxr-xr-x | test/rule-syntax-check.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rule-syntax-check.py b/test/rule-syntax-check.py index 6cb021518d..a94a965a48 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 |