From a6468f21dbbcc40ec52061ba85288beaa98afb9d Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Tue, 17 Oct 2006 15:26:02 -0400 Subject: Disable commit behavior because it's not reliable --- Bugs-Everywhere-Web/beweb/controllers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugs-Everywhere-Web/beweb/controllers.py') diff --git a/Bugs-Everywhere-Web/beweb/controllers.py b/Bugs-Everywhere-Web/beweb/controllers.py index 4417a63..5f0046e 100644 --- a/Bugs-Everywhere-Web/beweb/controllers.py +++ b/Bugs-Everywhere-Web/beweb/controllers.py @@ -112,9 +112,9 @@ class Bug(PrestHandler): assigned = None bug.assigned = assigned bug.save() - bug.rcs.precommit(bug.path) - bug.rcs.commit(bug.path, "Auto-commit") - bug.rcs.postcommit(bug.path) +# bug.rcs.precommit(bug.path) +# bug.rcs.commit(bug.path, "Auto-commit") +# bug.rcs.postcommit(bug.path) raise cherrypy.HTTPRedirect(bug_list_url(bug_data["project"])) def instantiate(self, project, bug): -- cgit From ea15510609d1516000daa8a685731df5d549bfba Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Tue, 5 Dec 2006 16:08:03 -0500 Subject: Mostly upgrade to turbogears 1.0b1 --- Bugs-Everywhere-Web/beweb/controllers.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Bugs-Everywhere-Web/beweb/controllers.py') 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]) -- cgit