core: fix Python2.4 crash due to missing Logger.getChild().

pull/612/head
David Wilson 5 years ago
parent e8b1bf5909
commit 65bec2244d

@ -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()

Loading…
Cancel
Save