From f50e9055c119ff4e00d8cf756b3f6af23f252e1e Mon Sep 17 00:00:00 2001 From: Ionut Filip Date: Fri, 11 Jan 2019 12:57:45 +0200 Subject: [PATCH] Unused imports and bad indentation --- tests/reply_test.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/reply_test.py b/tests/reply_test.py index f343b039..be6ddabb 100755 --- a/tests/reply_test.py +++ b/tests/reply_test.py @@ -4,9 +4,6 @@ import time import sys from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText -import ntpath -from email.mime.base import MIMEBase -from email import encoders msg = MIMEMultipart() msg['From'] = "admin@mailu.io" @@ -52,7 +49,7 @@ else: typ, data = imap_server.search(None, 'ALL') for num in data[0].split(): - imap_server.store(num, '+FLAGS', '\\Deleted') + imap_server.store(num, '+FLAGS', '\\Deleted') imap_server.expunge() imap_server.close() @@ -80,7 +77,7 @@ else: typ, data = imap_server.search(None, 'ALL') for num in data[0].split(): - imap_server.store(num, '+FLAGS', '\\Deleted') + imap_server.store(num, '+FLAGS', '\\Deleted') imap_server.expunge() imap_server.close()