aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/comment.py')
-rw-r--r--becommands/comment.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/becommands/comment.py b/becommands/comment.py
index b2dad4e..ec93262 100644
--- a/becommands/comment.py
+++ b/becommands/comment.py
@@ -16,7 +16,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""Add a comment to a bug"""
from libbe import cmdutil, utility
-from libbe.bug import new_comment
import os
__desc__ = __doc__
@@ -64,7 +63,7 @@ def execute(args):
if not body.endswith('\n'):
body+='\n'
- comment = new_comment(bug, body)
+ comment = bug.new_comment(body)
if parent_comment is not None:
comment.in_reply_to = parent_comment.uuid
comment.save()