changeset 425:c3611b284625

userlist for switch user: removed skipping of empty names imported from: moin--main--1.5--patch-429
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 04 Feb 2006 17:23:14 +0000
parents 5507d1c91fea
children 3e7fa99247cd
files ChangeLog MoinMoin/userform.py
diffstat 2 files changed, 16 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Feb 04 17:15:31 2006 +0000
+++ b/ChangeLog	Sat Feb 04 17:23:14 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-02-04 18:23:14 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-429
+
+    Summary:
+      userlist for switch user: removed skipping of empty names
+    Revision:
+      moin--main--1.5--patch-429
+
+    userlist for switch user: removed skipping of empty names
+    
+
+    modified files:
+     ChangeLog MoinMoin/userform.py
+
+
 2006-02-04 18:15:31 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-428
 
     Summary:
--- a/MoinMoin/userform.py	Sat Feb 04 17:15:31 2006 +0000
+++ b/MoinMoin/userform.py	Sat Feb 04 17:23:14 2006 +0000
@@ -405,9 +405,8 @@
         options = []
         users = user.getUserList(self.request)
         for uid in users:
-            name = user.User(self.request, id=uid).name
-            if name: # why do we have empty names?
-                options.append((name, name))
+            name = user.User(self.request, id=uid).name # + '_' + uid # for debugging
+            options.append((name, name))
         options.sort()
 
         size = min(5, len(options))