ConfigParser renaming reversal part 3: move module into place and adapt imports.

This commit is contained in:
Georg Brandl 2008-05-25 07:25:25 +00:00
parent 995ee9dab0
commit 392c6fc02d
14 changed files with 68 additions and 126 deletions

View file

@ -65,9 +65,9 @@ def fileConfig(fname, defaults=None):
rather than a filename, in which case the file-like object will be read
using readfp.
"""
import configparser
import ConfigParser
cp = configparser.ConfigParser(defaults)
cp = ConfigParser.ConfigParser(defaults)
if hasattr(cp, 'readfp') and hasattr(fname, 'readline'):
cp.readfp(fname)
else: