changeset 3772:6d89eb828dc9

ldap_login: fix wrong _() use
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sun, 22 Jun 2008 11:09:47 +0200
parents 6946577a78d5
children f413e3c28df6
files MoinMoin/auth/ldap_login.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/ldap_login.py	Sat Jun 21 23:39:23 2008 +0200
+++ b/MoinMoin/auth/ldap_login.py	Sun Jun 22 11:09:47 2008 +0200
@@ -242,7 +242,7 @@
             # method).
             logging.error("LDAP server %s failed (%s). "
                           "Trying to authenticate with next auth list entry." % (server, str(err)))
-            return ContinueLogin(user_obj, _("LDAP server %(server)s failed." % {'server': server}))
+            return ContinueLogin(user_obj, _("LDAP server %(server)s failed.") % {'server': server})
 
         except:
             logging.exception("caught an exception, traceback follows...")