diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-02-16 15:24:24 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-02-16 15:24:24 -0700 |
commit | 778571f155139fcf43d0e30e875c39d6592ae03f (patch) | |
tree | 11abd0b960576420a444cebee24a068d9d3bac05 /lib | |
parent | 1954f182687a0bd429175dda87f05d8a94bb403a (diff) | |
download | bitbake-778571f155139fcf43d0e30e875c39d6592ae03f.tar.gz |
runqueue: simplify RunQueueStats.copy
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/runqueue.py | 5 |
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): |