Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
24319ac4
Commit
24319ac4
authored
Jun 29, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #10571: Fix the "--sign" option of distutils' upload command.
Patch by Jakub Wilk.
parent
f29435f9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
Lib/distutils/command/upload.py
Lib/distutils/command/upload.py
+1
-1
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/command/upload.py
View file @
24319ac4
...
...
@@ -125,7 +125,7 @@ class upload(PyPIRCCommand):
if
self
.
sign
:
data
[
'gpg_signature'
]
=
(
os
.
path
.
basename
(
filename
)
+
".asc"
,
open
(
filename
+
".asc"
).
read
())
open
(
filename
+
".asc"
,
"rb"
).
read
())
# set up the authentication
user_pass
=
(
self
.
username
+
":"
+
self
.
password
).
encode
(
'ascii'
)
...
...
Misc/ACKS
View file @
24319ac4
...
...
@@ -1009,6 +1009,7 @@ Felix Wiemann
Gerry Wiener
Frank Wierzbicki
Bryce "Zooko" Wilcox-O'Hearn
Jakub Wilk
Jason Williams
John Williams
Sue Williams
...
...
Misc/NEWS
View file @
24319ac4
...
...
@@ -81,6 +81,9 @@ Core and Builtins
Library
-------
- Issue #10571: Fix the "--sign" option of distutils' upload command.
Patch by Jakub Wilk.
- Issue #9559: If messages were only added, a new file is no longer
created and renamed over the old file when flush() is called on an
mbox, MMDF or Babyl mailbox.
...
...
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