[Mpuls-commits] r2982 - in base/trunk: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 10 12:56:43 CEST 2010
Author: bh
Date: 2010-06-10 12:56:41 +0200 (Thu, 10 Jun 2010)
New Revision: 2982
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/lib/translation.py
Log:
* mpulsweb/lib/translation.py: Import LanguageError too.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-06-10 10:50:37 UTC (rev 2981)
+++ base/trunk/ChangeLog 2010-06-10 10:56:41 UTC (rev 2982)
@@ -1,3 +1,7 @@
+2010-06-10 Bernhard Herzog <bh at intevation.de>
+
+ * mpulsweb/lib/translation.py: Import LanguageError too.
+
2010-06-10 Torsten Irländer <torsten.irlaender at intevation.de>
* mpulsweb/lib/config.py: New Config option for anonymization of
Modified: base/trunk/mpulsweb/lib/translation.py
===================================================================
--- base/trunk/mpulsweb/lib/translation.py 2010-06-10 10:50:37 UTC (rev 2981)
+++ base/trunk/mpulsweb/lib/translation.py 2010-06-10 10:56:41 UTC (rev 2982)
@@ -3,7 +3,7 @@
from gettext import NullTranslations, translation
import pylons
-from pylons.i18n.translation import get_lang
+from pylons.i18n.translation import get_lang, LanguageError
# Copied from pylons.i18n.translation. Adapted code to allow otional locations
# of language files
More information about the Mpuls-commits
mailing list