Skip to content

Commit

Permalink
Remove more MIME-Version garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
BjarniRunar committed Oct 25, 2014
1 parent a387cdb commit dfe79f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mailpile/crypto/mime.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ def wrap(self, msg):
if not hl.startswith('content-') and not hl.startswith('mime-'):
self.container[h] = msg[h]
del msg[h]
elif hl == 'mime-version':
del msg[h]
if hasattr(msg, 'signature_info'):
self.container.signature_info = msg.signature_info
self.container.encryption_info = msg.encryption_info
Expand Down

0 comments on commit dfe79f3

Please sign in to comment.