diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-12-05 16:08:03 -0500 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-12-05 16:08:03 -0500 |
commit | ea15510609d1516000daa8a685731df5d549bfba (patch) | |
tree | 123012cb2e0d0d31c3b32977b870a08966859835 /Bugs-Everywhere-Web/beweb/controllers.py | |
parent | 43fe901fa3f239b57e2343fbca322f2f5a91320f (diff) | |
download | bugseverywhere-ea15510609d1516000daa8a685731df5d549bfba.tar.gz |
Mostly upgrade to turbogears 1.0b1
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/controllers.py')
-rw-r--r-- | Bugs-Everywhere-Web/beweb/controllers.py | 12 |
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]) |