From 1d7f54bfa9a618b995278a01579f69ea3a37c0e6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 25 Oct 2012 08:19:42 -0400 Subject: interfaces:web:web: use bugdir_bug_comment_from_user_id() in CFBE. This gets CFBE working with: commit 4db1a045a0606bead191a563abc54dfa8352efe0 Author: W. Trevor King Date: Wed Aug 29 23:26:17 2012 -0400 Rewrite commands to use bugdirs instead of a single bugdir. I'm not sure how much work it would take to rewrite CFBE to use multiple bugdirs. --- interfaces/web/web.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'interfaces') diff --git a/interfaces/web/web.py b/interfaces/web/web.py index 6b47aa6..2907932 100644 --- a/interfaces/web/web.py +++ b/interfaces/web/web.py @@ -9,7 +9,7 @@ from libbe import bugdir from libbe.command.depend import get_blocked_by, get_blocks from libbe.command.target import add_target, remove_target from libbe.command.target import bug_from_target_summary, bug_target -from libbe.command.util import bug_comment_from_user_id +from libbe.command.util import bugdir_bug_comment_from_user_id from libbe.storage.util import settings_object import libbe.command.tag @@ -136,7 +136,8 @@ class WebInterface: self.bd.load_all_bugs() - bug, comment = bug_comment_from_user_id(self.bd, id) + bugdir, bug, comment = bugdir_bug_comment_from_user_id( + {self.bd.uuid: self.bd}, id) template = self.env.get_template('bug.html') common_info = self.get_common_information() -- cgit