From e2514c6f1089ab1cdfba6ddc1dbaed1d37dd2be8 Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Wed, 14 May 2008 22:44:22 +0000 Subject: 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. --- Lib/logging/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/logging/config.py') diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 33d6f2f27a..b4c52b46dc 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -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: -- cgit v1.2.1