changeset 3141:044856398918

request: fixed wrong getText wrapper
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 27 Feb 2008 15:41:13 +0100
parents b92ac8cfbf44
children fe93fb0732a2
files MoinMoin/request/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Wed Feb 27 14:29:01 2008 +0100
+++ b/MoinMoin/request/__init__.py	Wed Feb 27 15:41:13 2008 +0100
@@ -197,7 +197,7 @@
             # authentication might require translated forms, so
             # have a try at guessing the language from the browser
             lang = i18n.requestLanguage(self, try_user=False)
-            self.getText = lambda text, i18n=self.i18n, request=self, lang=lang, **kv: i18n.getText(text, request, lang, kv.get('formatted', True))
+            self.getText = lambda text, i18n=self.i18n, request=self, lang=lang, **kw: i18n.getText(text, request, lang, **kw)
 
             # session handler start, auth
             self.parse_cookie()