Fix spacing errors (some mix of spaces in a file that's mostly tab-formatted).

This commit is contained in:
perennate 2013-08-09 14:32:49 +08:00
parent 078381c2dd
commit 955f8b8c9f
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ if raw_message.has_key('Cc'):
if raw_message.has_key('Bcc'):
to_addrs.extend( [e[1] for e in email.utils.getaddresses([raw_message['Bcc']])] )
if raw_message.has_key('X-GPG-Encrypt-Cc'):
encrypted_to_addrs.extend( [e[1] for e in email.utils.getaddresses([raw_message['X-GPG-Encrypt-Cc']])] )
encrypted_to_addrs.extend( [e[1] for e in email.utils.getaddresses([raw_message['X-GPG-Encrypt-Cc']])] )
del raw_message['X-GPG-Encrypt-Cc']
def send_msg( message, recipients = None ):
@ -85,8 +85,8 @@ for enc in encrypted_to_addrs:
if domain in cfg['default']['domains'].split(','):
if enc in keys:
gpg_to.append( (enc, enc) )
elif cfg.has_key('keymap') and cfg['keymap'].has_key(enc):
gpg_to.append( (enc, cfg['keymap'][enc]) )
elif cfg.has_key('keymap') and cfg['keymap'].has_key(enc):
gpg_to.append( (enc, cfg['keymap'][enc]) )
for to in to_addrs:
domain = to.split('@')[1]