diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-01-07 14:11:59 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-01-07 14:11:59 +0000 |
commit | 9ebb84c04fa9b7e2bc42104a1e4ad66168a11089 (patch) | |
tree | 2f0f5b06fa2ca2f3af1f41e58848914341662859 /tools | |
parent | 59c078f83af30bb70a62e295d98ec2796cd6bf89 (diff) | |
parent | f778931252fbee34980e32289e96534eebb89c2b (diff) | |
download | neutron-9ebb84c04fa9b7e2bc42104a1e4ad66168a11089.tar.gz |
Merge "Corrects broken format strings in check_i18n.py"
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check_i18n.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/check_i18n.py b/tools/check_i18n.py index 86207b80b4..f9b31ebda3 100644 --- a/tools/check_i18n.py +++ b/tools/check_i18n.py @@ -59,7 +59,8 @@ class Visitor(object): if checker(node): print('%s:%d %s: %s Error: %s' % (self.filename, node.lineno, - self.lines[node.lineno - 1][:-1], msg), + self.lines[node.lineno - 1][:-1], + checker.__name__, msg), file=sys.stderr) self.error = 1 return @@ -81,7 +82,8 @@ class Visitor(object): elif action == 'error': print('%s:%d %s: %s Error: %s' % (self.filename, node.lineno, - self.lines[node.lineno - 1][:-1], msg), + self.lines[node.lineno - 1][:-1], + predicate.__name__, msg), file=sys.stderr) self.error = 1 return |