commit b21fc1dad202f300314fb84347da356c5bfac195 Author: Isis Lovecruft isis@torproject.org Date: Wed Feb 12 15:24:53 2014 +0000
Use Dist.* instead of bridgedb.Dist.* in EmailServer.getMailResponse(). --- lib/bridgedb/EmailServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/EmailServer.py b/lib/bridgedb/EmailServer.py index b22d5b6..5fa550d 100644 --- a/lib/bridgedb/EmailServer.py +++ b/lib/bridgedb/EmailServer.py @@ -98,7 +98,7 @@ def getMailResponse(lines, ctx): t = I18n.getLang(lang)
try: - _, addrdomain = bridgedb.Dist.extractAddrSpec(clientAddr.lower()) + _, addrdomain = Dist.extractAddrSpec(clientAddr.lower()) except BadEmail: logging.info("Ignoring bad address on incoming email.") return None, None