diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-12-21 01:49:00 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-12-21 01:49:00 (GMT) |
commit | 88e2c5d35a9ce74e779bfc5cb38624bef49c695f (patch) | |
tree | c9b8985c220a5d99d1caae8c25c8d654be47bac0 /Lib/distutils/config.py | |
parent | 8b9361a26df8b336d08de6a59387c56be520591f (diff) | |
download | cpython-88e2c5d35a9ce74e779bfc5cb38624bef49c695f.zip cpython-88e2c5d35a9ce74e779bfc5cb38624bef49c695f.tar.gz cpython-88e2c5d35a9ce74e779bfc5cb38624bef49c695f.tar.bz2 |
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
........
Diffstat (limited to 'Lib/distutils/config.py')
-rw-r--r-- | Lib/distutils/config.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py index 5b625f3..fe41ce9 100644 --- a/Lib/distutils/config.py +++ b/Lib/distutils/config.py @@ -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() |