update shared

This commit is contained in:
j 2016-01-09 12:46:19 +05:30
commit 9d7763e017
51 changed files with 566 additions and 337 deletions

View file

@ -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: