diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-14 04:55:43 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-14 04:55:43 -0500 |
| commit | ca4321bb5833e2daa7bee1a32a3dee37cb49f012 (patch) | |
| tree | 10d108b3e6dbf9ec64a8cff384dd8d9712c129fa /setuptools/command/setopt.py | |
| parent | 477fef2d71db14b82d74ea73f4f90e02876d1967 (diff) | |
| download | external_python_setuptools-ca4321bb5833e2daa7bee1a32a3dee37cb49f012.tar.gz external_python_setuptools-ca4321bb5833e2daa7bee1a32a3dee37cb49f012.tar.bz2 external_python_setuptools-ca4321bb5833e2daa7bee1a32a3dee37cb49f012.zip | |
Use the modern name for the configparser module
Diffstat (limited to 'setuptools/command/setopt.py')
| -rwxr-xr-x | setuptools/command/setopt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/setopt.py b/setuptools/command/setopt.py index a04d6032..74c7cad8 100755 --- a/setuptools/command/setopt.py +++ b/setuptools/command/setopt.py @@ -37,10 +37,10 @@ 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 setuptools.compat import ConfigParser + from setuptools.compat import configparser log.debug("Reading configuration from %s", filename) - opts = ConfigParser.RawConfigParser() + opts = configparser.RawConfigParser() opts.read([filename]) for section, options in settings.items(): if options is None: |
