mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
pep8: Add compliance with rule E261 to email_mirror.py.
This commit is contained in:
committed by
Tim Abbott
parent
f1b2f10574
commit
6a53c53588
@@ -67,7 +67,7 @@ def get_imap_messages():
|
|||||||
try:
|
try:
|
||||||
mbox.select(settings.EMAIL_GATEWAY_IMAP_FOLDER)
|
mbox.select(settings.EMAIL_GATEWAY_IMAP_FOLDER)
|
||||||
try:
|
try:
|
||||||
status, num_ids_data = mbox.search(None, 'ALL') # type: bytes, List[bytes]
|
status, num_ids_data = mbox.search(None, 'ALL') # type: bytes, List[bytes]
|
||||||
for msgid in num_ids_data[0].split():
|
for msgid in num_ids_data[0].split():
|
||||||
status, msg_data = mbox.fetch(msgid, '(RFC822)')
|
status, msg_data = mbox.fetch(msgid, '(RFC822)')
|
||||||
msg_as_bytes = msg_data[0][1]
|
msg_as_bytes = msg_data[0][1]
|
||||||
|
|||||||
Reference in New Issue
Block a user