Oops again, removed some old debugging logging
authorW. Trevor King <wking@drexel.edu>
Wed, 15 Jul 2009 19:50:58 +0000 (15:50 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 15 Jul 2009 19:50:58 +0000 (15:50 -0400)
interfaces/email/interactive/be-handle-mail

index 8232925bed1f1c27e9f27759e880566b7e1a27eb..ebf522a1339c0f69092a4b8119f8f36bae69b607 100755 (executable)
@@ -110,10 +110,6 @@ def run_message(msg_text):
             if "--alt-id" not in args:
                 command_args = ["--alt-id", msg["message-id"]] + command_args
         command_args.append(body)
-    if LOGFILE != None:
-        f = file(LOGFILE, "a+")
-        f.write("ping\n")
-        f.close()
     # catch stdout and stderr
     new_stdout = StringIO.StringIO()
     new_stderr = StringIO.StringIO()
@@ -132,10 +128,6 @@ def run_message(msg_text):
     out_text = new_stdout.getvalue()
     err_text = new_stderr.getvalue()
 
-    if LOGFILE != None:
-        f = file(LOGFILE, "a+")
-        f.write("pong\n")
-        f.close()
     author_addr = "wking"
     response_header = [u"From: %s" % HANDLER_ADDRESS,
                        u"To: %s" % author_addr,