From: W. Trevor King Date: Wed, 15 Jul 2009 19:50:58 +0000 (-0400) Subject: Oops again, removed some old debugging logging X-Git-Tag: 1.0.0~62^2~46^2~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b39f68dcb0ecdc5f2c3f12fe75b47ff1f4d51e86;p=be.git Oops again, removed some old debugging logging --- diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index 8232925..ebf522a 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -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,