summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/hacking.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hacking.py b/tools/hacking.py
index 93e51e66c..b924167f5 100755
--- a/tools/hacking.py
+++ b/tools/hacking.py
@@ -275,7 +275,7 @@ class LocalizationError(Exception):
pass
-def check_l18n():
+def check_i18n():
"""Generator that checks token stream for localization errors.
Expects tokens to be ``send``ed one by one.
@@ -340,7 +340,7 @@ def nova_localization_strings(logical_line, tokens):
N703: multiple positional placeholders
"""
- gen = check_l18n()
+ gen = check_i18n()
next(gen)
try:
map(gen.send, tokens)