diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-14 22:59:42 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-14 22:59:42 (GMT) |
commit | 1d1eaa45c94a9b1dacfb9aa711c0d6ecf87cbd67 (patch) | |
tree | 345691dd348b6efc561b12d01cebe02fcbc8fe3d /Lib/logging/config.py | |
parent | 84726faf4185244d028fe3d7eea27a05b905b145 (diff) | |
download | cpython-1d1eaa45c94a9b1dacfb9aa711c0d6ecf87cbd67.zip cpython-1d1eaa45c94a9b1dacfb9aa711c0d6ecf87cbd67.tar.gz cpython-1d1eaa45c94a9b1dacfb9aa711c0d6ecf87cbd67.tar.bz2 |
Renamed ConfigParser to configparser.
Merged revisions 63247-63248 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63247 | georg.brandl | 2008-05-14 18:30:31 -0400 (Wed, 14 May 2008) | 2 lines
Update configparser docs for lowercasing rename.
........
r63248 | alexandre.vassalotti | 2008-05-14 18:44:22 -0400 (Wed, 14 May 2008) | 8 lines
Updated import statements to use the new `configparser` module name.
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.
Georg, I am reverting your changes since this commit should propagate
to py3k.
........
Diffstat (limited to 'Lib/logging/config.py')
-rw-r--r-- | Lib/logging/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 172f069..006d669 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -62,9 +62,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: |