Commit 9b316f1f authored by Jason R. Coombs's avatar Jason R. Coombs

ConfigParser is not a new style class.

parent 6797a9d0
...@@ -943,7 +943,7 @@ class PyPIConfig(ConfigParser.ConfigParser): ...@@ -943,7 +943,7 @@ class PyPIConfig(ConfigParser.ConfigParser):
Load from ~/.pypirc Load from ~/.pypirc
""" """
defaults = dict.fromkeys(['username', 'password', 'repository'], '') defaults = dict.fromkeys(['username', 'password', 'repository'], '')
super(PyPIConfig, self).__init__(defaults) ConfigParser.ConfigParser.__init__(self, defaults)
rc = os.path.join(os.path.expanduser('~'), '.pypirc') rc = os.path.join(os.path.expanduser('~'), '.pypirc')
if os.path.exists(rc): if os.path.exists(rc):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment