diff options
author | Chris Ball <cjb@laptop.org> | 2010-06-22 22:08:08 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-06-22 22:08:08 -0400 |
commit | eefebd9f0582704b81cbf6ccbf7646c71cdce534 (patch) | |
tree | df12be8a39310e1f9e48c9480f7d7bd696d278e4 /interfaces/web/web.py | |
parent | 01ab5cb43d47a0afb835897762954956df6bfe39 (diff) | |
download | bugseverywhere-eefebd9f0582704b81cbf6ccbf7646c71cdce534.tar.gz |
cfbe: API: bd.bug_from_shortname(id) -> bug_comment_from_user_id(bd, id)
Diffstat (limited to 'interfaces/web/web.py')
-rw-r--r-- | interfaces/web/web.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interfaces/web/web.py b/interfaces/web/web.py index dd09d82..473054b 100644 --- a/interfaces/web/web.py +++ b/interfaces/web/web.py @@ -1,6 +1,7 @@ import cherrypy from libbe import storage from libbe import bugdir +from libbe.command.util import bug_comment_from_user_id from libbe.storage.util import settings_object from jinja2 import Environment, FileSystemLoader from datetime import datetime @@ -106,7 +107,7 @@ class WebInterface: self.bd.load_all_bugs() - bug = self.bd.bug_from_shortname(id) + bug, comment = bug_comment_from_user_id(self.bd, id) template = self.env.get_template('bug.html') common_info = self.get_common_information() |