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
ca3e8a37
Commit
ca3e8a37
authored
Sep 03, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct AttributeError in upload command on Python 2.4. Fixes #76
parent
aa3e70d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGES.txt
CHANGES.txt
+4
-3
setuptools/command/upload.py
setuptools/command/upload.py
+1
-1
No files found.
CHANGES.txt
View file @
ca3e8a37
...
...
@@ -2,12 +2,13 @@
CHANGES
=======
----
next
----
----
-
1.1.1
----
-
* Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate
environments where a trusted SSL connection cannot be validated.
* Issue #76: Fix AttributeError in upload command with Python 2.4.
---
1.1
...
...
setuptools/command/upload.py
View file @
ca3e8a37
...
...
@@ -119,7 +119,7 @@ class upload(Command):
boundary
=
'--------------GHSKFJDLGDS7543FJKLFHRE75642756743254'
sep_boundary
=
'
\
n
--'
+
boundary
end_boundary
=
sep_boundary
+
'--'
body
=
StringIO
.
StringIO
()
body
=
StringIO
()
for
key
,
value
in
data
.
items
():
# handle multiple entries for the same name
if
isinstance
(
value
,
list
):
...
...
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