bodhi/controllers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3701e47d155b586e8e7bd3e5979db90e137c2f08
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue Jun 29 15:42:28 2010 -0400
Fix the logic in our /updates/critpath?untested=True method
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index 0ba2a6d..d34739a 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -1310,7 +1310,7 @@ class Root(controllers.RootController):
for release in releases]))):
if update.critpath:
if untested:
- if update.critpath_approved:
+ if not update.critpath_approved:
updates.append(update)
else:
updates.append(update)
Show replies by date