summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/gettext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gettext.py b/Lib/gettext.py
index 6c8a7df..ed9d3ea 100644
--- a/Lib/gettext.py
+++ b/Lib/gettext.py
@@ -261,7 +261,7 @@ class GNUTranslations(NullTranslations):
# See if we're looking at GNU .mo conventions for metadata
if mlen == 0:
# Catalog description
- lastk = None
+ lastk = k = None
for item in tmsg.splitlines():
item = item.strip()
if not item: