From e0c116a29fab83a8c8742057fe34d6f8ed8e549c Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 24 Jun 2018 04:47:18 +0100 Subject: [PATCH] issue #275: logging package uses classic classes in 2.6. --- mitogen/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/core.py b/mitogen/core.py index 9c9a14af..1a854d11 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -278,7 +278,7 @@ class PidfulStreamHandler(logging.StreamHandler): def emit(self, record): if self.open_pid != os.getpid(): self._reopen() - return super(PidfulStreamHandler, self).emit(record) + logging.StreamHandler.emit(self, record) def enable_debug_logging():