bodhi/controllers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7f0312a80b44736719328acd824caec6cdfa62f4
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Jul 6 13:11:08 2011 -0400
Get our Broken Upgrade Path errors to propagate to the bodhi client (#621)
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index 7a234ff..7ccd4aa 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -881,7 +881,7 @@ class Root(controllers.RootController):
flash_log("Broken update path: %s is older "
"than %s in %s" %
(kojiBuild['nvr'],
oldBuild['nvr'], tag))
- raise redirect('/new', **params)
+ raise InvalidUpdateException(params)
# Create all of the PackageBuild objects, obsoleting any older updates
for build in builds:
Show replies by thread