commit 6fbe6f03cc1de10009047d0d1b1340742fef0f46 Author: Isis Lovecruft isis@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)
tor-commits@lists.torproject.org