Skip to content
Snippets Groups Projects
Commit 52e1b4ae authored by Stuart D. Gathman's avatar Stuart D. Gathman
Browse files

Move sys to top of mime.py

parent 55e53786
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ web:
rsync -ravKk doc/html/ bmsi.com:/var/www/html/pymilter
cd doc/html; zip -r ../../doc .
VERSION=1.0.2
VERSION=1.0.3
PKG=pymilter-$(VERSION)
SRCTAR=$(PKG).tar.gz
......
......@@ -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)
......
......@@ -14,7 +14,7 @@ libdirs = ["/usr/lib/libmilter"] # needed for Debian
modules = ["mime"]
# NOTE: importing Milter to obtain version fails when milter.so not built
setup(name = "pymilter", version = '1.0.2',
setup(name = "pymilter", version = '1.0.3',
description="Python interface to sendmail milter API",
long_description="""\
This is a python extension module to enable python scripts to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment