Corrected author_addr -> info["author_addr"] in be-handle-mail
authorW. Trevor King <wking@drexel.edu>
Sat, 18 Jul 2009 14:03:48 +0000 (10:03 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 18 Jul 2009 14:03:48 +0000 (10:03 -0400)
interfaces/email/interactive/be-handle-mail

index 7d165be5fa41e67e12ef7c29aab7140693325f78..013ea4e9a6b0fec0da84fb6afa0e73e00d1e2877 100755 (executable)
@@ -134,11 +134,11 @@ def run_message(msg_text):
         body,mime_type = get_body_type(msg)
         if command == "new":
             if "--reporter" not in args and "-r" not in args:
-                command_args = ["--reporter", author_addr] + command_args
+                command_args = ["--reporter", info["author_addr"]]+command_args
             body = body.strip().split("\n", 1)[0] # only take first line
         elif command == "comment":
             if "--author" not in args and "-a" not in args:
-                command_args = ["--author", author_addr] + command_args
+                command_args = ["--author", info["author_addr"]] + command_args
             if "--content-type" not in args and "-c" not in args:
                 command_args = ["--content-type", mime_type] + command_args
             if "--alt-id" not in args: