diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-05-04 16:00:32 (GMT) |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-05-04 16:00:32 (GMT) |
commit | ad039f754805dc9c9d4cd95ed249984bc1405bd6 (patch) | |
tree | dc05834257618829aec6336e7486e796f8115695 /Lib/distutils | |
parent | 45cdcd93c9e4b16437610cfb69205d3379bee61a (diff) | |
parent | 422cf2b4adaf8a5d69f2baf10becbe341d3ab2a4 (diff) | |
download | cpython-ad039f754805dc9c9d4cd95ed249984bc1405bd6.zip cpython-ad039f754805dc9c9d4cd95ed249984bc1405bd6.tar.gz cpython-ad039f754805dc9c9d4cd95ed249984bc1405bd6.tar.bz2 |
Issue #20120: Merge with 3.5
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py index 382aca8..f0c7373 100644 --- a/Lib/distutils/config.py +++ b/Lib/distutils/config.py @@ -4,7 +4,7 @@ Provides the PyPIRCCommand class, the base class for the command classes that uses .pypirc in the distutils.command package. """ import os -from configparser import ConfigParser +from configparser import RawConfigParser from distutils.cmd import Command @@ -53,7 +53,7 @@ class PyPIRCCommand(Command): repository = self.repository or self.DEFAULT_REPOSITORY realm = self.realm or self.DEFAULT_REALM - config = ConfigParser() + config = RawConfigParser() config.read(rc) sections = config.sections() if 'distutils' in sections: |