churchyard / rpms / python2

Forked from rpms/python2 6 years ago
Clone
b7dfd0a
diff -up Python-2.5.1/Lib/gettext.py.plural Python-2.5.1/Lib/gettext.py
b7dfd0a
--- Python-2.5.1/Lib/gettext.py.plural	2007-09-10 11:38:57.000000000 -0400
b7dfd0a
+++ Python-2.5.1/Lib/gettext.py	2007-09-10 11:39:00.000000000 -0400
b7dfd0a
@@ -299,6 +299,8 @@ class GNUTranslations(NullTranslations):
b7dfd0a
                     item = item.strip()
b7dfd0a
                     if not item:
b7dfd0a
                         continue
b7dfd0a
+                    if item.startswith("#"):
b7dfd0a
+                        continue
Matej Stuchlik 83d676a
                     k = v = None
b7dfd0a
                     if ':' in item:
b7dfd0a
                         k, v = item.split(':', 1)