summaryrefslogtreecommitdiff
path: root/src/leap/mail/outgoing/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/mail/outgoing/service.py')
-rw-r--r--src/leap/mail/outgoing/service.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/mail/outgoing/service.py b/src/leap/mail/outgoing/service.py
index c881830..f3c2320 100644
--- a/src/leap/mail/outgoing/service.py
+++ b/src/leap/mail/outgoing/service.py
@@ -91,7 +91,10 @@ class OutgoingMail:
# assert params
leap_assert_type(from_address, str)
leap_assert('@' in from_address)
- leap_assert_type(keymanager, KeyManager)
+
+ # XXX it can be a zope.proxy too
+ # leap_assert_type(keymanager, KeyManager)
+
leap_assert_type(host, str)
leap_assert(host != '')
leap_assert_type(port, int)