]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - python/patches/python-2.5.1-plural-fix.patch
python: Update to 2.7.12.
[people/stevee/ipfire-3.x.git] / python / patches / python-2.5.1-plural-fix.patch
index 040adaf18084d2c022f3ce9ae072d69d14aad11d..5002cb27e11a1f2a13f2865098016eaf7b09ed34 100644 (file)
@@ -7,6 +7,6 @@ diff -up Python-2.5.1/Lib/gettext.py.plural Python-2.5.1/Lib/gettext.py
                          continue
 +                    if item.startswith("#"):
 +                        continue
+                     k = v = None
                      if ':' in item:
                          k, v = item.split(':', 1)
-                         k = k.strip().lower()