From ae8c3dd0dbf0b2bf7464a437880104e7c2b4427f Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 1 Aug 2009 00:18:44 +0200 Subject: [PATCH] [entropy.i18n] make pylint happy, assign gettext.gettext to _() --- libraries/entropy/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy/i18n.py b/libraries/entropy/i18n.py index 54c68e28b..e45b4f038 100644 --- a/libraries/entropy/i18n.py +++ b/libraries/entropy/i18n.py @@ -32,7 +32,7 @@ try: gettext.textdomain('entropy') gettext.install('entropy', unicode=True) # thanks weirdness! - _ = _ + _ = gettext.gettext except (ImportError,OSError,): def _(raw_string): """