aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/model.py')
-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())