summaryrefslogtreecommitdiff
path: root/setuptools/command/setopt.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-06-18 15:01:44 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-06-18 15:01:44 -0500
commitb0abfb1c076baced9bf182a357dd47e9482bf065 (patch)
tree55a30c8bdd916583a818895c0b660f73815202d0 /setuptools/command/setopt.py
parentc04abca662dcbffd00d928e06fbf32b9f49f8e57 (diff)
parent3c86c861ab9665df0e502f250a7471d09240e413 (diff)
downloadpython-setuptools-git-b0abfb1c076baced9bf182a357dd47e9482bf065.tar.gz
Merge Python 3 native support from distribute
--HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
Diffstat (limited to 'setuptools/command/setopt.py')
-rwxr-xr-xsetuptools/command/setopt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/setopt.py b/setuptools/command/setopt.py
index dbf3a94e..aa468c88 100755
--- a/setuptools/command/setopt.py
+++ b/setuptools/command/setopt.py
@@ -47,9 +47,9 @@ def edit_config(filename, settings, dry_run=False):
while a dictionary lists settings to be changed or deleted in that section.
A setting of ``None`` means to delete that setting.
"""
- from ConfigParser import RawConfigParser
+ from setuptools.compat import ConfigParser
log.debug("Reading configuration from %s", filename)
- opts = RawConfigParser()
+ opts = ConfigParser.RawConfigParser()
opts.read([filename])
for section, options in settings.items():
if options is None: