]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
the python stdlib has no *pgettext
authorAlex Morega <alex@grep.ro>
Sun, 7 Jul 2013 09:04:51 +0000 (11:04 +0200)
committerAlex Morega <alex@grep.ro>
Sun, 7 Jul 2013 09:04:51 +0000 (11:04 +0200)
babel/support.py

index 50a8b8d4d4ed7cff6a23bf853b9c8b975ef6f937..24866ff5bac1333426b70fe2017c377d7cc2e9a1 100644 (file)
@@ -529,8 +529,6 @@ class NullTranslations(gettext.NullTranslations, object):
     if not PY2:
         ugettext = gettext.NullTranslations.gettext
         ungettext = gettext.NullTranslations.ngettext
-        upgettext = gettext.NullTranslations.pgettext
-        upnpgettext = gettext.NullTranslations.npgettext
 
 
 class Translations(NullTranslations, gettext.GNUTranslations):
@@ -550,8 +548,6 @@ class Translations(NullTranslations, gettext.GNUTranslations):
     if not PY2:
         ugettext = gettext.GNUTranslations.gettext
         ungettext = gettext.GNUTranslations.ngettext
-        upgettext = gettext.GNUTranslations.pgettext
-        upnpgettext = gettext.GNUTranslations.npgettext
 
     @classmethod
     def load(cls, dirname=None, locales=None, domain=None):