summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-12-21 01:49:00 +0000
committerTarek Ziadé <ziade.tarek@gmail.com>2009-12-21 01:49:00 +0000
commit9414e0ddcaa3c08782325904d0d1d890dc8fa332 (patch)
treebdaa3333d6ea3c7bea7916d69f9dc5c06d61a96c /config.py
parent7553531b1974c77b2c51f9e22aaaa36eab115b39 (diff)
downloadpython-setuptools-git-9414e0ddcaa3c08782325904d0d1d890dc8fa332.tar.gz
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 'config.py')
-rw-r--r--config.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/config.py b/config.py
index 5b625f3f..fe41ce97 100644
--- a/config.py
+++ b/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()