summaryrefslogtreecommitdiff
path: root/src/leap/email/smtp/smtprelay.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/email/smtp/smtprelay.py')
-rw-r--r--src/leap/email/smtp/smtprelay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/email/smtp/smtprelay.py b/src/leap/email/smtp/smtprelay.py
index 7a647717..fdb8eb91 100644
--- a/src/leap/email/smtp/smtprelay.py
+++ b/src/leap/email/smtp/smtprelay.py
@@ -106,7 +106,7 @@ class EncryptedMessage():
"""Separate message headers from body."""
sep = self.lines.index('')
self.headers = self.lines[:sep]
- self.body = self.lines[sep+1:]
+ self.body = self.lines[sep + 1:]
def connectionLost(self):
log.msg("Connection lost unexpectedly!")
@@ -128,7 +128,7 @@ class EncryptedMessage():
def sendMessage(self):
self.prepareHeader()
- msg = '\n'.join(self.headers+[self.cyphertext])
+ msg = '\n'.join(self.headers + [self.cyphertext])
d = defer.Deferred()
factory = smtp.ESMTPSenderFactory(self.smtp_username,
self.smtp_password,