summaryrefslogtreecommitdiff
path: root/src/leap/mail/smtp
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-01-02 10:58:43 -0400
committerKali Kaneko <kali@leap.se>2015-02-11 14:05:43 -0400
commit4fa3d27225f44d9598d24d9e59a97baaa9bbb90e (patch)
tree148f46cee12badce78819427819a11e0b04096c6 /src/leap/mail/smtp
parent22f619cf2a295ecc5beff16a91de63728ac4b17d (diff)
make outgoing a new submodule
Diffstat (limited to 'src/leap/mail/smtp')
-rw-r--r--src/leap/mail/smtp/__init__.py2
-rw-r--r--src/leap/mail/smtp/gateway.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/leap/mail/smtp/__init__.py b/src/leap/mail/smtp/__init__.py
index 72b26ed..24402b4 100644
--- a/src/leap/mail/smtp/__init__.py
+++ b/src/leap/mail/smtp/__init__.py
@@ -22,7 +22,7 @@ import logging
from twisted.internet import reactor
from twisted.internet.error import CannotListenError
-from leap.mail.service import OutgoingMail
+from leap.mail.outgoing.service import OutgoingMail
logger = logging.getLogger(__name__)
diff --git a/src/leap/mail/smtp/gateway.py b/src/leap/mail/smtp/gateway.py
index d58c581..222ef3f 100644
--- a/src/leap/mail/smtp/gateway.py
+++ b/src/leap/mail/smtp/gateway.py
@@ -93,7 +93,7 @@ class SMTPFactory(ServerFactory):
mail or not.
:type encrypted_only: bool
:param outgoing_mail: The outgoing mail to send the message
- :type outgoing_mail: leap.mail.service.OutgoingMail
+ :type outgoing_mail: leap.mail.outgoing.service.OutgoingMail
"""
leap_assert_type(encrypted_only, bool)
@@ -141,7 +141,7 @@ class SMTPDelivery(object):
mail or not.
:type encrypted_only: bool
:param outgoing_mail: The outgoing mail to send the message
- :type outgoing_mail: leap.mail.service.OutgoingMail
+ :type outgoing_mail: leap.mail.outgoing.service.OutgoingMail
"""
self._userid = userid
self._outgoing_mail = outgoing_mail
@@ -266,7 +266,7 @@ class EncryptedMessage(object):
:param user: The recipient of this message.
:type user: twisted.mail.smtp.User
:param outgoing_mail: The outgoing mail to send the message
- :type outgoing_mail: leap.mail.service.OutgoingMail
+ :type outgoing_mail: leap.mail.outgoing.service.OutgoingMail
"""
# assert params
leap_assert_type(user, smtp.User)