diff options
author | W. Trevor King <wking@drexel.edu> | 2008-11-19 08:05:17 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-11-19 08:05:17 -0500 |
commit | 3697d561fef7f4ee15a6b4d9906a9a9114412965 (patch) | |
tree | def98f80a57c5cc0dfd7d3c79500800376684cb6 /becommands/comment.py | |
parent | 35b7aaa33c1826d7b39dc8a0f32100f5c0c5788d (diff) | |
download | bugseverywhere-3697d561fef7f4ee15a6b4d9906a9a9114412965.tar.gz |
Merged bug.new_comment into bug.Bug.new_comment.
Diffstat (limited to 'becommands/comment.py')
-rw-r--r-- | becommands/comment.py | 3 |
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() |