X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=python%2Fpython-2.5.1-plural-fix.patch;fp=python%2Fpython-2.5.1-plural-fix.patch;h=040adaf18084d2c022f3ce9ae072d69d14aad11d;hb=63a2fa13b135c765210e7331113a9bcd99949b3b;hp=0000000000000000000000000000000000000000;hpb=bce5b966788b7d38e7235291e155272f1dc42d6a;p=fedora-mingw.git diff --git a/python/python-2.5.1-plural-fix.patch b/python/python-2.5.1-plural-fix.patch new file mode 100644 index 0000000..040adaf --- /dev/null +++ b/python/python-2.5.1-plural-fix.patch @@ -0,0 +1,12 @@ +diff -up Python-2.5.1/Lib/gettext.py.plural Python-2.5.1/Lib/gettext.py +--- Python-2.5.1/Lib/gettext.py.plural 2007-09-10 11:38:57.000000000 -0400 ++++ Python-2.5.1/Lib/gettext.py 2007-09-10 11:39:00.000000000 -0400 +@@ -299,6 +299,8 @@ class GNUTranslations(NullTranslations): + item = item.strip() + if not item: + continue ++ if item.startswith("#"): ++ continue + if ':' in item: + k, v = item.split(':', 1) + k = k.strip().lower()