[tor-commits] [bridgedb/develop] Remove old imports and add autoresponder import to bridgedb.email.server.

isis at torproject.org isis at torproject.org
Fri Jun 6 20:40:38 UTC 2014


commit 1f865b393b977c6205f043e6d53bd63b042187ef
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon Jun 2 21:11:01 2014 +0000

    Remove old imports and add autoresponder import to bridgedb.email.server.
---
 lib/bridgedb/email/server.py |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/lib/bridgedb/email/server.py b/lib/bridgedb/email/server.py
index 6bc7300..50c5987 100644
--- a/lib/bridgedb/email/server.py
+++ b/lib/bridgedb/email/server.py
@@ -20,28 +20,23 @@ from __future__ import unicode_literals
 import logging
 import io
 import socket
-import time
 
 from twisted.internet import defer
 from twisted.internet import reactor
 from twisted.internet.task import LoopingCall
 from twisted.mail import smtp
+from twisted.mail.smtp import rfc822date
+from twisted.python import failure
 
 from zope.interface import implements
 
+from bridgedb import __version__
 from bridgedb import safelog
-from bridgedb import translations
 from bridgedb.crypto import getGPGContext
-from bridgedb.crypto import gpgSignMessage
-from bridgedb.crypto import NEW_BUFFER_INTERFACE
-from bridgedb.Dist import EmailRequestedHelp
-from bridgedb.Dist import EmailRequestedKey
-from bridgedb.Dist import TooSoonEmail
-from bridgedb.Dist import IgnoreEmail
+from bridgedb.email import autoresponder
 from bridgedb.email import templates
 from bridgedb.email import request
 from bridgedb.parse import addr
-from bridgedb.parse.addr import BadEmail
 from bridgedb.parse.addr import UnsupportedDomain
 from bridgedb.parse.addr import canonicalizeEmailDomain
 





More information about the tor-commits mailing list