issue #275: logging package uses classic classes in 2.6.

This commit is contained in:
David Wilson 2018-06-24 04:47:18 +01:00
parent 1d04a99adb
commit e0c116a29f
1 changed files with 1 additions and 1 deletions

View File

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