From 65bec2244d6883db44d87712bacf986822ebbdd5 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 4 Aug 2019 23:57:50 +0000 Subject: [PATCH] core: fix Python2.4 crash due to missing Logger.getChild(). --- mitogen/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/core.py b/mitogen/core.py index 71fbc76a..96c30fb0 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -1228,7 +1228,7 @@ class Importer(object): ALWAYS_BLACKLIST += ['cStringIO'] def __init__(self, router, context, core_src, whitelist=(), blacklist=()): - self._log = LOG.getChild('importer') + self._log = logging.getLogger('mitogen.importer') self._context = context self._present = {'mitogen': self.MITOGEN_PKG_CONTENT} self._lock = threading.Lock()