diff MoinMoin/apps/admin/views.py @ 2102:ca5e39389265

use %s(name) instead of %r(name)
author Ashutosh Singla <ashu1461@gmail.com>
date Wed, 24 Apr 2013 19:39:41 +0530
parents 2d11470eb41b
children a8e67947f130
line wrap: on
line diff
--- a/MoinMoin/apps/admin/views.py	Wed Apr 24 19:30:18 2013 +0530
+++ b/MoinMoin/apps/admin/views.py	Wed Apr 24 19:39:41 2013 +0530
@@ -61,8 +61,8 @@
     """
     u = user.User(auth_username=user_name)
     if request.method == 'GET':
-        return _(u"User profile of %(username)s: %(email)r", username=user_name,
-                 email=(u.email, u.disabled))
+        return _(u"User profile of %(username)s: %(email)s %(disabled)s", username=user_name,
+                 email=u.email, disabled=u.disabled)
 
     if request.method == 'POST':
         key = request.form.get('key', '')