1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

daq: fix for the updated twisted support.

This commit is contained in:
Sergei Trofimov 2015-07-21 08:35:36 +01:00
parent 39ed42ccb9
commit 19072530e4
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -31,7 +31,7 @@ class CustomLoggingObserver(log.PythonLoggingObserver):
def __init__(self, loggerName="twisted"):
super(CustomLoggingObserver, self).__init__(loggerName)
if not hasattr(self, '_newObserver'): # new vesions of Twisted
if hasattr(self, '_newObserver'): # new vesions of Twisted
self.logger = self._newObserver.logger # pylint: disable=no-member
def emit(self, eventDict):