aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb/controllers.py
diff options
context:
space:
mode:
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/controllers.py')
-rw-r--r--Bugs-Everywhere-Web/beweb/controllers.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/Bugs-Everywhere-Web/beweb/controllers.py b/Bugs-Everywhere-Web/beweb/controllers.py
index 5f0046e..358e74a 100644
--- a/Bugs-Everywhere-Web/beweb/controllers.py
+++ b/Bugs-Everywhere-Web/beweb/controllers.py
@@ -1,12 +1,20 @@
-import turbogears
-from turbogears import controllers, expose, redirect, identity
+import logging
+
import cherrypy
+import turbogears
+from turbogears import controllers, expose, validate, redirect, identity
+
from libbe.bugdir import (tree_root, cmp_severity, new_bug, new_comment,
NoRootEntry)
from libbe import names
from config import projects
from prest import PrestHandler, provide_action
+
+from beweb import json
+
+log = logging.getLogger("beweb.controllers")
+
def project_tree(project):
try:
return tree_root(projects[project][1])