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

This commit is contained in:
David Wilson 2019-08-04 23:57:50 +00:00
parent e8b1bf5909
commit 65bec2244d
1 changed files with 1 additions and 1 deletions

View File

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