Commit 0c9624fd authored by Jason R. Coombs's avatar Jason R. Coombs

Feed the hobgoblins (delint).

parent 9bf0fbe2
......@@ -2,7 +2,6 @@ import io
import os
import hashlib
import getpass
import platform
from base64 import standard_b64encode
......@@ -16,6 +15,7 @@ from setuptools.extern.six.moves.urllib.request import urlopen, Request
from setuptools.extern.six.moves.urllib.error import HTTPError
from setuptools.extern.six.moves.urllib.parse import urlparse
class upload(orig.upload):
"""
Override default upload behavior to obtain password
......@@ -80,7 +80,7 @@ class upload(orig.upload):
'version': meta.get_version(),
# file content
'content': (os.path.basename(filename),content),
'content': (os.path.basename(filename), content),
'filetype': command,
'pyversion': pyversion,
'md5_digest': hashlib.md5(content).hexdigest(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment