Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
0c9624fd
Commit
0c9624fd
authored
Dec 29, 2018
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feed the hobgoblins (delint).
parent
9bf0fbe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setuptools/command/upload.py
setuptools/command/upload.py
+2
-2
No files found.
setuptools/command/upload.py
View file @
0c9624fd
...
...
@@ -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
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment