aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2007-02-05 16:35:50 -0500
committerAaron Bentley <abentley@panoramicfeedback.com>2007-02-05 16:35:50 -0500
commit79b7df5566226c572d66673be4fc2de8be17e10b (patch)
tree6bbbce70727f47ecb39de4a94d2cf745139186a3 /Bugs-Everywhere-Web/beweb
parentea15510609d1516000daa8a685731df5d549bfba (diff)
downloadbugseverywhere-79b7df5566226c572d66673be4fc2de8be17e10b.tar.gz
Get beweb mostly working
Diffstat (limited to 'Bugs-Everywhere-Web/beweb')
-rw-r--r--Bugs-Everywhere-Web/beweb/model.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugs-Everywhere-Web/beweb/model.py b/Bugs-Everywhere-Web/beweb/model.py
index 5537dae..aa4b6b6 100644
--- a/Bugs-Everywhere-Web/beweb/model.py
+++ b/Bugs-Everywhere-Web/beweb/model.py
@@ -104,5 +104,4 @@ class Permission(SQLObject):
otherColumn="group_id")
def people_map():
- return dict([(u.userId, u.displayName) for u in User.select() if
- "fixbugs" in identity.current.permissions])
+ return dict((u.user_name, u.display_name) for u in User.select())