mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Merged revisions 76956 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76956 | tarek.ziade | 2009-12-21 02:22:46 +0100 (Mon, 21 Dec 2009) | 1 line massive import cleaning in Distutils ........
This commit is contained in:
parent
8b9361a26d
commit
88e2c5d35a
24 changed files with 62 additions and 78 deletions
|
@ -4,7 +4,6 @@ Provides the PyPIRCCommand class, the base class for the command classes
|
|||
that uses .pypirc in the distutils.command package.
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
from configparser import ConfigParser
|
||||
|
||||
from distutils.cmd import Command
|
||||
|
@ -60,8 +59,6 @@ class PyPIRCCommand(Command):
|
|||
if os.path.exists(rc):
|
||||
self.announce('Using PyPI login from %s' % rc)
|
||||
repository = self.repository or self.DEFAULT_REPOSITORY
|
||||
realm = self.realm or self.DEFAULT_REALM
|
||||
|
||||
config = ConfigParser()
|
||||
config.read(rc)
|
||||
sections = config.sections()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue