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
f21c3f4a
Commit
f21c3f4a
authored
May 25, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ConfigParser renaming reversal part 3: move module into place and adapt imports.
parent
ca303a98
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
15 deletions
+3
-15
command/upload.py
command/upload.py
+1
-5
config.py
config.py
+1
-5
dist.py
dist.py
+1
-5
No files found.
command/upload.py
View file @
f21c3f4a
...
...
@@ -14,11 +14,7 @@ import httplib
import
base64
import
urlparse
import
cStringIO
as
StringIO
try
:
from
configparser
import
ConfigParser
except
ImportError
:
# For backward-compatibility with Python versions < 2.6.
from
ConfigParser
import
ConfigParser
from
ConfigParser
import
ConfigParser
class
upload
(
PyPIRCCommand
):
...
...
config.py
View file @
f21c3f4a
...
...
@@ -5,11 +5,7 @@ that uses .pypirc in the distutils.command package.
"""
import
os
import
sys
try
:
from
configparser
import
ConfigParser
except
ImportError
:
# For backward-compatibility with Python versions < 2.6.
from
ConfigParser
import
ConfigParser
from
ConfigParser
import
ConfigParser
from
distutils.cmd
import
Command
...
...
dist.py
View file @
f21c3f4a
...
...
@@ -358,11 +358,7 @@ Common commands: (see '--help-commands' for more)
def
parse_config_files
(
self
,
filenames
=
None
):
try
:
from
configparser
import
ConfigParser
except
ImportError
:
# For backward-compatibility with Python versions < 2.6.
from
ConfigParser
import
ConfigParser
from
ConfigParser
import
ConfigParser
if
filenames
is
None
:
filenames
=
self
.
find_config_files
()
...
...
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