[Moin-devel] Finally found: little bug in user browser

Lele Gaifax lele at seldati.it
Wed Feb 26 15:26:21 EST 2003


There is a little bug in userform.py, where a User gets created
passing just the ID, while the constructor expects a request and the
ID.

     # iterate over users
     for uid in user.getUserList():
-        account = user.User(uid)
+        account = user.User(request, uid)
         data.addRow((

ciao, lele.
-- 
nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele at seldati.it	|		-- Fortunato Depero, 1929.





More information about the Moin-devel mailing list