[tor-commits] [bridgedb/master] Ensure that a default (6725) EMAIL_PORT is set.

isis at torproject.org isis at torproject.org
Fri Jun 6 23:39:15 UTC 2014


commit 6fbe6f03cc1de10009047d0d1b1340742fef0f46
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Jun 4 17:19:41 2014 +0000

    Ensure that a default (6725) EMAIL_PORT is set.
---
 lib/bridgedb/email/server.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/email/server.py b/lib/bridgedb/email/server.py
index 11af8df..36dc841 100644
--- a/lib/bridgedb/email/server.py
+++ b/lib/bridgedb/email/server.py
@@ -417,7 +417,7 @@ def addServer(config, distributor, schedule):
     factory.setContext(context)
 
     addr = config.EMAIL_BIND_IP or ""
-    port = config.EMAIL_PORT
+    port = config.EMAIL_PORT or 6725
 
     try:
         reactor.listenTCP(port, factory, interface=addr)





More information about the tor-commits mailing list