aboutsummaryrefslogtreecommitdiffstats
path: root/beweb
diff options
context:
space:
mode:
Diffstat (limited to 'beweb')
-rw-r--r--beweb/beweb/controllers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/beweb/beweb/controllers.py b/beweb/beweb/controllers.py
index 9124116..9379e24 100644
--- a/beweb/beweb/controllers.py
+++ b/beweb/beweb/controllers.py
@@ -103,6 +103,10 @@ class Bug(PrestHandler):
@provide_action("action", "New comment")
def new_comment(self, bug_data, bug, *args, **kwargs):
+ try:
+ self.update(bug_data, bug, *args, **kwargs)
+ except cherrypy.HTTPRedirect:
+ pass
return self.comment.new_comment(bug_data, comment=None, *args,
**kwargs)