bodhi/controllers.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit d0478c546b8c42ab56f701916e613a38e4fecb60
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Mar 4 16:32:23 2009 -0500
Don't assume that all of the builds are properly tagged when editing an update.
This should fix rel-eng#1309, and should hopefully cause a lot less problems
when editing updates.
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index d2f30ac..6f244c3 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -584,10 +584,7 @@ class Root(controllers.RootController):
valid = True
# If all of the builds are not properly tagged, then complain.
- # If we're editing an update, we can already assume that we've
- # moved the builds back to the candidates tag above, and can
- # skip this verification.
- if not valid and not edited:
+ if not valid:
flash_log("%s not tagged as an update candidate" % build)
raise InvalidUpdateException(params)
Show replies by date