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
82518cc8
Commit
82518cc8
authored
May 04, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Plain Diff
Issue #20120: Merge with 3.5
parents
1746f3ca
a1b5cdea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config.py
config.py
+2
-2
No files found.
config.py
View file @
82518cc8
...
...
@@ -4,7 +4,7 @@ Provides the PyPIRCCommand class, the base class for the command classes
that uses .pypirc in the distutils.command package.
"""
import
os
from
configparser
import
ConfigParser
from
configparser
import
Raw
ConfigParser
from
distutils.cmd
import
Command
...
...
@@ -53,7 +53,7 @@ class PyPIRCCommand(Command):
repository
=
self
.
repository
or
self
.
DEFAULT_REPOSITORY
realm
=
self
.
realm
or
self
.
DEFAULT_REALM
config
=
ConfigParser
()
config
=
Raw
ConfigParser
()
config
.
read
(
rc
)
sections
=
config
.
sections
()
if
'distutils'
in
sections
:
...
...
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