[tor-commits] [bridgedb/develop] Add EMAIL_BLACKLIST and EMAIL_FUZZY_MATCH settings to test/email_helpers.py.
isis at torproject.org
isis at torproject.org
Thu Jul 24 04:37:11 UTC 2014
commit 43e1c994b72bfe0ed99be9d0632d6ae3f95d5292
Author: Isis Lovecruft <isis at 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 at 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),
More information about the tor-commits
mailing list