summaryrefslogtreecommitdiff
path: root/src/leap/mail/smtp/gateway.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-09-22 17:38:48 -0400
committerKali Kaneko <kali@leap.se>2015-09-23 12:00:15 -0400
commitfcdc227c23e6958aab902c95aeab35285c9993f0 (patch)
tree30b8e0f597267e828a98db971dff570ad54daf2e /src/leap/mail/smtp/gateway.py
parent309578890ba5d188f3d569473d756c28e06aa7ab (diff)
[refactor] avoid circular import due to rfc3156
Diffstat (limited to 'src/leap/mail/smtp/gateway.py')
-rw-r--r--src/leap/mail/smtp/gateway.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leap/mail/smtp/gateway.py b/src/leap/mail/smtp/gateway.py
index c988367..45560bf 100644
--- a/src/leap/mail/smtp/gateway.py
+++ b/src/leap/mail/smtp/gateway.py
@@ -41,10 +41,7 @@ from leap.common.events import emit_async, catalog
from leap.keymanager.openpgp import OpenPGPKey
from leap.keymanager.errors import KeyNotFound
from leap.mail.utils import validate_address
-
-from leap.mail.smtp.rfc3156 import (
- RFC3156CompliantGenerator,
-)
+from leap.mail.rfc3156 import RFC3156CompliantGenerator
# replace email generator with a RFC 3156 compliant one.
from email import generator