commit 43e1c994b72bfe0ed99be9d0632d6ae3f95d5292 Author: Isis Lovecruft isis@torproject.org Date: Mon Jul 7 12:10:45 2014 +0000
Add EMAIL_BLACKLIST and EMAIL_FUZZY_MATCH settings to test/email_helpers.py. --- lib/bridgedb/test/email_helpers.py | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/lib/bridgedb/test/email_helpers.py b/lib/bridgedb/test/email_helpers.py index f171419..db52561 100644 --- a/lib/bridgedb/test/email_helpers.py +++ b/lib/bridgedb/test/email_helpers.py @@ -38,6 +38,8 @@ EMAIL_DOMAIN_RULES = { } EMAIL_DOMAINS = ["gmail.com", "example.com", "localhost"] EMAIL_WHITELIST = {'white@list.ed': 'ABCD1234ABCD1234ABCD1234ABCD1234ABCD1234'} +EMAIL_BLACKLIST = ['feidanchaoren'] +EMAIL_FUZZY_MATCH = 4 EMAIL_USERNAME = "bridges" EMAIL_SMTP_HOST = "127.0.0.1" EMAIL_SMTP_PORT = 25 @@ -56,6 +58,8 @@ EMAIL_DOMAIN_MAP = %s EMAIL_DOMAIN_RULES = %s EMAIL_DOMAINS = %s EMAIL_WHITELIST = %s +EMAIL_BLACKLIST = %s +EMAIL_FUZZY_MATCH = %s EMAIL_USERNAME = %s EMAIL_SMTP_HOST = %s EMAIL_SMTP_PORT = %s @@ -72,6 +76,8 @@ EMAIL_PORT = %s repr(EMAIL_DOMAIN_RULES), repr(EMAIL_DOMAINS), repr(EMAIL_WHITELIST), + repr(EMAIL_BLACKLIST), + repr(EMAIL_FUZZY_MATCH), repr(EMAIL_USERNAME), repr(EMAIL_SMTP_HOST), repr(EMAIL_SMTP_PORT),
tor-commits@lists.torproject.org