[or-cvs] r12822: Add a couple of print statements when we get an email and wh (in bridgedb/trunk: . lib/bridgedb)

nickm at seul.org nickm at seul.org
Sat Dec 15 05:25:18 UTC 2007


Author: nickm
Date: 2007-12-15 00:25:15 -0500 (Sat, 15 Dec 2007)
New Revision: 12822

Modified:
   bridgedb/trunk/
   bridgedb/trunk/lib/bridgedb/Server.py
Log:
 r15473 at tombo:  nickm | 2007-12-15 00:25:00 -0500
 Add a couple of print statements when we get an email and when we send a reply.



Property changes on: bridgedb/trunk
___________________________________________________________________
 svk:merge ticket from /bridgedb/trunk [r15473] on d9e39d38-0f13-419c-a857-e10a0ce2aa0c

Modified: bridgedb/trunk/lib/bridgedb/Server.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Server.py	2007-12-14 23:02:31 UTC (rev 12821)
+++ bridgedb/trunk/lib/bridgedb/Server.py	2007-12-15 05:25:15 UTC (rev 12822)
@@ -116,6 +116,7 @@
     return clientAddr, f
 
 def replyToMail(lines, ctx):
+    print "Got complete email; attempting to reply."
     sendToUser, response = getMailResponse(lines, ctx)
     if response is None:
         return
@@ -127,6 +128,7 @@
         response,
         d)
     reactor.connectTCP(ctx.smtpServer, ctx.smtpPort, factory)
+    print "Sending reply."
     return d
 
 class MailContext:



More information about the tor-commits mailing list