aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/setopt.py
diff options
context:
space:
mode:
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: