mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
runqueue: simplify RunQueueStats.copy
(Bitbake rev: 778571f155139fcf43d0e30e875c39d6592ae03f) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0f42f6b640
commit
5f73918d99
@@ -48,10 +48,7 @@ class RunQueueStats:
|
||||
|
||||
def copy(self):
|
||||
obj = self.__class__(self.total)
|
||||
obj.completed = self.completed
|
||||
obj.skipped = self.skipped
|
||||
obj.failed = self.failed
|
||||
obj.active = self.active
|
||||
obj.__dict__.update(self.__dict__)
|
||||
return obj
|
||||
|
||||
def taskFailed(self):
|
||||
|
||||
Reference in New Issue
Block a user