summaryrefslogtreecommitdiff
path: root/mail/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-01-22 00:47:42 -0400
committerKali Kaneko <kali@leap.se>2015-02-11 14:05:43 -0400
commita629cdb612f69c306646085ead8d98ec77e9c1f8 (patch)
tree90654142cbc4a452cec88040de912b095a5c5fd8 /mail/src/leap
parent44d0463b0b027cca21c38962056338db6e30dd79 (diff)
fix typo
Diffstat (limited to 'mail/src/leap')
-rw-r--r--mail/src/leap/mail/smtp/gateway.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/src/leap/mail/smtp/gateway.py b/mail/src/leap/mail/smtp/gateway.py
index 222ef3f..1a187cf 100644
--- a/mail/src/leap/mail/smtp/gateway.py
+++ b/mail/src/leap/mail/smtp/gateway.py
@@ -219,7 +219,7 @@ class SMTPDelivery(object):
d = self._km.get_key(address, OpenPGPKey) # might raise KeyNotFound
d.addCallbacks(found, not_found)
- d.addCallbac(lambda _: EncryptedMessage(user, self._outgoing_mail))
+ d.addCallback(lambda _: EncryptedMessage(user, self._outgoing_mail))
return d
def validateFrom(self, helo, origin):
@@ -306,4 +306,6 @@ class EncryptedMessage(object):
log.err()
signal(proto.SMTP_CONNECTION_LOST, self._user.dest.addrstr)
# unexpected loss of connection; don't save
+
+
self._lines = []