[entropy.i18n] make pylint happy, assign gettext.gettext to _()

This commit is contained in:
Fabio Erculiani
2009-08-01 00:18:44 +02:00
parent 98689fbec3
commit ae8c3dd0db
+1 -1
View File
@@ -32,7 +32,7 @@ try:
gettext.textdomain('entropy')
gettext.install('entropy', unicode=True)
# thanks weirdness!
_ = _
_ = gettext.gettext
except (ImportError,OSError,):
def _(raw_string):
"""