[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Make docstring for b.e.server.addServer clearer.
commit e8ffb4252362ff0ef3a2962cb2834ef2bebaee8e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Mon Jun 9 19:41:02 2014 +0000
Make docstring for b.e.server.addServer clearer.
Since there are technically two SMTP servers, be clearer that this
function sets up the one which listens for incoming emails.
---
lib/bridgedb/email/server.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/bridgedb/email/server.py b/lib/bridgedb/email/server.py
index aa3e08c..1717958 100644
--- a/lib/bridgedb/email/server.py
+++ b/lib/bridgedb/email/server.py
@@ -418,7 +418,8 @@ class SMTPIncomingServerFactory(smtp.SMTPFactory):
def addServer(config, distributor, schedule):
- """Set up a SMTP server for responding to requests for bridges.
+ """Set up a SMTP server which listens on the configured ``EMAIL_PORT`` for
+ incoming connections, and responds as necessary to requests for bridges.
:type config: :class:`bridgedb.persistent.Conf`
:param config: A configuration object.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits