issue #275: logging package uses classic classes in 2.6.
This commit is contained in:
parent
1d04a99adb
commit
e0c116a29f
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue