bodhi/model.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8e159695356bb284d4f18d6f06b9a0d7956c7f3f
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue Jan 26 15:18:56 2010 -0500
Use our configurable admin_groups, instea of hardcoding it
diff --git a/bodhi/model.py b/bodhi/model.py
index 3570630..9a0ecbb 100644
--- a/bodhi/model.py
+++ b/bodhi/model.py
@@ -861,7 +861,7 @@ class PackageUpdate(SQLObject):
# Hack, to get this working for F13 w/o changing the DB
if comment.author.endswith(')'):
group = comment.author[:-1].split('(')[-1]
- if group in ('qa', 'releng'):
+ if group in config.get('admin_groups', 'qa
releng').split():
approvals += 1
return approvals
Show replies by date