diff MoinMoin/auth/openidrp.py @ 3123:5cb80bd604b4

refactored _() getText calls to match new api
author Radomir Dopieralski <moindev@sheep.art.pl>
date Wed, 27 Feb 2008 00:28:28 +0100
parents 059054049961
children f272fc54b68d
line wrap: on
line diff
--- a/MoinMoin/auth/openidrp.py	Wed Feb 27 00:23:46 2008 +0100
+++ b/MoinMoin/auth/openidrp.py	Wed Feb 27 00:28:28 2008 +0100
@@ -92,7 +92,7 @@
                                                     {'oidstage': '1'})
         info = oidconsumer.complete(query, return_to=return_to)
         if info.status == consumer.FAILURE:
-            return CancelLogin(_('OpenID error: %s.') % info.message)
+            return CancelLogin(_('OpenID error: %s.') % info.message, percent=True)
         elif info.status == consumer.CANCEL:
             return CancelLogin(_('Verification canceled.'))
         elif info.status == consumer.SUCCESS: