Move sys to top of mime.py

This commit is contained in:
Stuart D. Gathman
2018-12-23 22:31:20 -05:00
parent 55e5378659
commit 52e1b4ae32
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -102,6 +102,7 @@ except:
import socket
import Milter
import zipfile
import sys
import email
from email.message import Message
@@ -537,7 +538,6 @@ def check_html(msg,savname=None):
return Milter.CONTINUE
if __name__ == '__main__':
import sys
def _list_attach(msg):
t = msg.get_content_type()
p = msg.get_payload(decode=True)