aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-25 08:19:42 -0400
committerW. Trevor King <wking@tremily.us>2012-10-25 16:01:42 -0400
commit1d7f54bfa9a618b995278a01579f69ea3a37c0e6 (patch)
treef5831958b87c76e0ec9c79ddf7334758cef7a592 /interfaces
parentd3413d36bf16e991e40308134d2db32c0fa5294b (diff)
downloadbugseverywhere-1d7f54bfa9a618b995278a01579f69ea3a37c0e6.tar.gz
interfaces:web:web: use bugdir_bug_comment_from_user_id() in CFBE.
This gets CFBE working with: commit 4db1a045a0606bead191a563abc54dfa8352efe0 Author: W. Trevor King <wking@tremily.us> 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.
Diffstat (limited to 'interfaces')
-rw-r--r--interfaces/web/web.py5
1 files changed, 3 insertions, 2 deletions
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()