summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-25 07:25:25 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-25 07:25:25 (GMT)
commit392c6fc02d90f211dadc72448a07d9281260cb70 (patch)
tree8cc4d563ee077ef83612a67a02ce36f5c2397d37 /Lib/logging
parent995ee9dab0a89b139e08a55fc64a60aaddc0d5c0 (diff)
downloadcpython-392c6fc02d90f211dadc72448a07d9281260cb70.zip
cpython-392c6fc02d90f211dadc72448a07d9281260cb70.tar.gz
cpython-392c6fc02d90f211dadc72448a07d9281260cb70.tar.bz2
ConfigParser renaming reversal part 3: move module into place and adapt imports.
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py
index dc13723..c95842c 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: