changeset 1610:4374108a1189

userbrowser: add data for email field, fixes #227
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 04 Aug 2012 21:21:50 +0200
parents dc7c76f163ad
children 3a35a9294f5b
files MoinMoin/apps/admin/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/admin/views.py	Sat Aug 04 20:14:35 2012 +0200
+++ b/MoinMoin/apps/admin/views.py	Sat Aug 04 21:21:50 2012 +0200
@@ -44,7 +44,7 @@
     revs = user.search_users() # all users
     user_accounts = [dict(uid=rev.meta[ITEMID],
                           name=rev.meta[NAME],
-                          email=u'', # rev.meta[EMAIL],  # TODO: fix KeyError
+                          email=rev.meta[EMAIL],
                           disabled=False,  # TODO: add to index
                           groups=[groupname for groupname in groups if rev.meta[NAME] in groups[groupname]],
                      )