Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 0424a5e18ab1fcfe75d9b326135c0a7f > files > 14

python-2.7.15-1.3.mga6.src.rpm

commit 9155a852f1381be7da29f716251b821f1402ef47
Author: philippem <philippem@mageia.org>
Date:   Mon Jul 4 16:01:17 2016 +0200

    plural-fix

diff --git a/Lib/gettext.py b/Lib/gettext.py
index 43202c4..7448f13 100644
--- a/Lib/gettext.py
+++ b/Lib/gettext.py
@@ -374,6 +374,8 @@ class GNUTranslations(NullTranslations):
                     item = item.strip()
                     if not item:
                         continue
+                    if item.startswith("#"):
+                        continue
                     k = v = None
                     if ':' in item:
                         k, v = item.split(':', 1)