summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-20 12:08:07 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:37 +0100
commitef1de9ecaf73e28234d284b79ec45e084d0f0c53 (patch)
tree417f87922c1a2fa4a3bbd4b35e0772221f96641e /bitbake/lib/bb/runqueue.py
parent20dc452614c991d1a4f5b7dcc1307cd03cba0c55 (diff)
downloadast2050-yocto-poky-ef1de9ecaf73e28234d284b79ec45e084d0f0c53.zip
ast2050-yocto-poky-ef1de9ecaf73e28234d284b79ec45e084d0f0c53.tar.gz
Apply some 2to3 refactorings
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 93fff5d..a4aea6c 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -928,7 +928,7 @@ class RunQueue:
while True:
task = None
if self.stats.active < self.number_tasks:
- task = self.sched.next()
+ task = next(self.sched)
if task is not None:
fn = self.taskData.fn_index[self.runq_fnid[task]]
OpenPOWER on IntegriCloud