diff options
author | Guido van Rossum <guido@python.org> | 2003-03-02 20:47:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-03-02 20:47:29 (GMT) |
commit | 0df6442ae50619cab1e0b6512b81d65766b38b36 (patch) | |
tree | ae9065c9a16847096f71f78187d478faf776fec0 /Lib/logging/config.py | |
parent | 206b9a779aacd1e246947f5cad3b327afba3546d (diff) | |
download | cpython-0df6442ae50619cab1e0b6512b81d65766b38b36.zip cpython-0df6442ae50619cab1e0b6512b81d65766b38b36.tar.gz cpython-0df6442ae50619cab1e0b6512b81d65766b38b36.tar.bz2 |
Undo the apply() removals; this code needs to run under Python 1.5.2.
Diffstat (limited to 'Lib/logging/config.py')
-rw-r--r-- | Lib/logging/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 8f692c3..933bdc7 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -102,7 +102,7 @@ def fileConfig(fname, defaults=None): klass = eval(klass, vars(logging)) args = cp.get(sectname, "args") args = eval(args, vars(logging)) - h = klass(*args) + h = apply(klass, args) if "level" in opts: level = cp.get(sectname, "level") h.setLevel(logging._levelNames[level]) |