changeset 5179:506a24108050

openid: do not translate debug logging messages
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 03 Oct 2009 23:46:37 +0200
parents d60888cbfb22
children 045d5788b82e
files MoinMoin/auth/openidrp.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/openidrp.py	Sat Oct 03 22:40:53 2009 +0200
+++ b/MoinMoin/auth/openidrp.py	Sat Oct 03 23:46:37 2009 +0200
@@ -231,15 +231,15 @@
         _ = request.getText
         oidstage = request.values.get('oidstage')
         if oidstage == '1':
-            logging.debug(_('OpenID: handle verify continuation'))
+            logging.debug('OpenID: handle verify continuation')
             return self._handle_verify_continuation(request)
         elif oidstage == '2':
-            logging.debug(_('OpenID: handle name continuation'))
+            logging.debug('OpenID: handle name continuation')
             return self._handle_name_continuation(request)
         elif oidstage == '3':
-            logging.debug(_('OpenID: handle associate continuation'))
+            logging.debug('OpenID: handle associate continuation')
             return self._handle_associate_continuation(request)
-        logging.debug(_('OpenID: unknown continuation stage'))
+        logging.debug('OpenID error: unknown continuation stage')
         return CancelLogin(_('OpenID error: unknown continuation stage'))
 
     def _openid_form(self, request, form, oidhtml):