summaryrefslogtreecommitdiff
path: root/src/leap/email/smtp/smtprelay.py
diff options
context:
space:
mode:
authorantialias <antialias@leap.se>2013-01-30 13:26:18 -0500
committerantialias <antialias@leap.se>2013-01-30 13:26:18 -0500
commit4b0dc38d6eaa970b49cadbf5c0174eb7c34197fc (patch)
tree69e225fcbc2be0ad7055454fe6f91e82d21655bc /src/leap/email/smtp/smtprelay.py
parentb3f30d14d8a8e728d904b78e9235d63d25e475d1 (diff)
pep8.
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,