[tor-commits] [bridgedb/master] Update b.e.server.addServer() docstring.
isis at torproject.org
isis at torproject.org
Fri Jun 6 23:39:14 UTC 2014
commit c053bffea4648e58568de961b4cf93005db10c75
Author: Isis Lovecruft <isis at torproject.org>
Date: Wed May 28 18:18:55 2014 +0000
Update b.e.server.addServer() docstring.
---
lib/bridgedb/email/server.py | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/lib/bridgedb/email/server.py b/lib/bridgedb/email/server.py
index b7e90ef..03643dc 100644
--- a/lib/bridgedb/email/server.py
+++ b/lib/bridgedb/email/server.py
@@ -785,12 +785,8 @@ class MailFactory(smtp.SMTPFactory):
def addServer(config, distributor, schedule):
"""Set up a SMTP server for responding to requests for bridges.
- :param config: A configuration object from Main. We use these
- options::
- EMAIL_BIND_IP
- EMAIL_PORT
- EMAIL_N_BRIDGES_PER_ANSWER
- EMAIL_DOMAIN_RULES
+ :type config: :class:`bridgedb.persistent.Conf`
+ :param config: A configuration object.
:type distributor: :class:`bridgedb.Dist.EmailBasedDistributor`
:param dist: A distributor which will handle database interactions, and
will decide which bridges to give to who and when.
More information about the tor-commits
mailing list