commit | dc692740a8609b535b44931b93a290d594b92fd0 | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Sun Aug 15 20:16:27 2010 +0000 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Sun Aug 15 20:16:27 2010 +0000 |
tree | 26e19a2a51d1bbe599c7ad91bcfc4834bd9281e3 | |
parent | a0241c8587fb15ccfb161762754e65c4cc11d421 [diff] |
Replace the deprecated ConfigParser.readfp() method, and fix the incomplete merge in r82293.
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 63193b1..c90591b 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py
@@ -63,7 +63,7 @@ cp = configparser.ConfigParser(defaults) if hasattr(fname, 'readline'): - cp.readfp(fname) + cp.read_file(fname) else: cp.read(fname)