From ef1de9ecaf73e28234d284b79ec45e084d0f0c53 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sun, 20 Jun 2010 12:08:07 -0700 Subject: Apply some 2to3 refactorings Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/runqueue.py') diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 93fff5d27b..a4aea6c004 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]] -- cgit v1.2.3