aboutsummaryrefslogtreecommitdiffstats
path: root/beweb
diff options
context:
space:
mode:
authorAaron Bentley <aaron.bentley@utoronto.ca>2005-12-20 22:32:56 -0500
committerAaron Bentley <aaron.bentley@utoronto.ca>2005-12-20 22:32:56 -0500
commitde52d58b71dae911a94fb77bce48c478b288bb12 (patch)
tree569dea65b1668d891665f67d56cb1531d0880633 /beweb
parent452fcc061beff90d33934e489f0c5f3ba09cacbd (diff)
parentbaa1866f551eecc2cf9c2a74ce7c29a52cc90bbf (diff)
downloadbugseverywhere-de52d58b71dae911a94fb77bce48c478b288bb12.tar.gz
Merged date fix
Diffstat (limited to 'beweb')
-rw-r--r--beweb/beweb/controllers.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/beweb/beweb/controllers.py b/beweb/beweb/controllers.py
index 2fe3d3e..168d610 100644
--- a/beweb/beweb/controllers.py
+++ b/beweb/beweb/controllers.py
@@ -1,7 +1,7 @@
import turbogears
from turbogears import controllers
import cherrypy
-from libbe.bugdir import tree_root, cmp_severity
+from libbe.bugdir import tree_root, cmp_severity, new_bug
from libbe import names
from config import projects
from restresource import RESTResource
@@ -44,10 +44,7 @@ class Bug(RESTResource):
}
def new_bug(self):
- bug = self.bug_tree().new_bug()
- bug.creator = names.creator()
- bug.severity = "minor"
- bug.status = "open"
+ bug = new_bug(self.bug_tree())
bug.save()
raise cherrypy.HTTPRedirect(bug_url(self.parent, bug.uuid))