diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-01-20 12:22:11 -0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-01-31 09:44:16 +0100 |
commit | a434952822487aad5efa7fad12d278115de19fd9 (patch) | |
tree | f46a07d42d82bb165010c931023cc58af063fa8c /src | |
parent | 847bc7ddd051c4656d86a6eda1b4e6cbdb5b1c5e (diff) |
Remove unused parameter
Signed-off-by: Ruben Pollan <meskio@sindominio.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/bitmask/mail/incoming/service.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/leap/bitmask/mail/incoming/service.py b/src/leap/bitmask/mail/incoming/service.py index 54064b8..d8528b1 100644 --- a/src/leap/bitmask/mail/incoming/service.py +++ b/src/leap/bitmask/mail/incoming/service.py @@ -459,8 +459,7 @@ class IncomingMail(Service): return decrmsg.as_string() if msg.get_content_type() == MULTIPART_ENCRYPTED: - d = self._decrypt_multipart_encrypted_msg( - msg, encoding, senderAddress) + d = self._decrypt_multipart_encrypted_msg(msg, senderAddress) elif msg.get_content_type() == MULTIPART_SIGNED: d = self._verify_signature_not_encrypted_msg(msg, senderAddress) else: @@ -479,14 +478,12 @@ class IncomingMail(Service): msg.add_header(self.LEAP_ENCRYPTION_HEADER, self.LEAP_ENCRYPTION_DECRYPTED) - def _decrypt_multipart_encrypted_msg(self, msg, encoding, senderAddress): + def _decrypt_multipart_encrypted_msg(self, msg, senderAddress): """ Decrypt a message with content-type 'multipart/encrypted'. :param msg: The original encrypted message. :type msg: Message - :param encoding: The encoding of the email message. - :type encoding: str :param senderAddress: The email address of the sender of the message. :type senderAddress: str |