summaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r--lib/bb/runqueue.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index bbaeb38f4..3b85de568 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -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):