From d91085598f5185b267ea51a3f615da9527af2ed2 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 17 Mar 2006 08:00:19 +0000 Subject: Remove apply() --- Lib/logging/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/logging/config.py') diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 5adfe4dd21..457ec5c382 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -148,7 +148,7 @@ def _install_handlers(cp, formatters): klass = eval(klass, vars(logging)) args = cp.get(sectname, "args") args = eval(args, vars(logging)) - h = apply(klass, args) + h = klass(*args) if "level" in opts: level = cp.get(sectname, "level") h.setLevel(logging._levelNames[level]) -- cgit v1.2.1