From: W. Trevor King Date: Sun, 13 Sep 2009 10:42:38 +0000 (-0400) Subject: Fixed a few typos in be-handle-mail X-Git-Tag: 1.0.0~62^2~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bac6ce2bc8b33850479b0dac7d646cdc988e5060;p=be.git Fixed a few typos in be-handle-mail --- diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index 9447804..666ac18 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -496,7 +496,7 @@ class Message (object): if tag_type == u"new": commands = self.parse_new() elif tag_type == u"comment": - commands = self.parse_comment() + commands = self.parse_comment(value) elif tag_type == u"control": commands = self.parse_control() else: @@ -515,7 +515,7 @@ class Message (object): options) args = [u"--reporter", options[u"Reporter"]] args.append(summary) - commands = [Command(self, command, args))] + commands = [Command(self, command, args)] comment_body = self._strip_footer(comment_body) id = ID(commands[0]) if len(comment_body) > 0: @@ -534,9 +534,9 @@ class Message (object): args = [id, value] commands.append(Command(self, command, args)) return commands - def parse_comment(self): + def parse_comment(self, bug_uuid): command = u"comment" - bug_id = value + bug_id = bug_uuid author = self.author_addr() alt_id = self.message_id() body,mime_type = list(self._get_bodies_and_mime_types())[0]