Add backward compatibility for `slaveoutput attribute to WorkerController` instances
Fix #285 Fix pytest-dev/pytest-cov#191
This commit is contained in:
1
changelog/285.bugfix
Normal file
1
changelog/285.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Add backward compatibility for ``slaveoutput`` attribute to ``WorkerController`` instances.
|
||||
@@ -307,7 +307,7 @@ class WorkerController(object):
|
||||
self.notify_inproc(eventname, node=self, **kwargs)
|
||||
elif eventname == "workerfinished":
|
||||
self._down = True
|
||||
self.workeroutput = kwargs['workeroutput']
|
||||
self.workeroutput = self.slaveoutput = kwargs['workeroutput']
|
||||
self.notify_inproc("workerfinished", node=self)
|
||||
elif eventname in ("logstart", "logfinish"):
|
||||
self.notify_inproc(eventname, node=self, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user