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

pull/287/head
David Wilson 7 years ago
parent 1d04a99adb
commit e0c116a29f

@ -278,7 +278,7 @@ class PidfulStreamHandler(logging.StreamHandler):
def emit(self, record): def emit(self, record):
if self.open_pid != os.getpid(): if self.open_pid != os.getpid():
self._reopen() self._reopen()
return super(PidfulStreamHandler, self).emit(record) logging.StreamHandler.emit(self, record)
def enable_debug_logging(): def enable_debug_logging():

Loading…
Cancel
Save