diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2007-03-04 14:55:06 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2007-03-04 14:55:06 +0000 |
commit | b9a1c1afdabf2339301ec9dc48789b404596cb37 (patch) | |
tree | b1ded5059ebe7a85690941ebf48f1ca2f8cab278 /lib/bb/shell.py | |
parent | bc4966063955265a7ae108c86d9811a38e9588fd (diff) | |
download | bitbake-b9a1c1afdabf2339301ec9dc48789b404596cb37.tar.gz |
runqueue.py: Improve initialization instead of repeating parameters
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r-- | lib/bb/shell.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py index 6385d84b7..7cfb01d64 100644 --- a/lib/bb/shell.py +++ b/lib/bb/shell.py @@ -169,9 +169,9 @@ class BitBakeShellCommands: td.add_unresolved(cooker.configuration.data, cooker.status) - rq = runqueue.RunQueue() - rq.prepare_runqueue(cooker, cooker.configuration.data, cooker.status, td, tasks) - rq.execute_runqueue(cooker, cooker.configuration.data, cooker.status, td, tasks) + rq = runqueue.RunQueue(cooker, cooker.configuration.data, cooker.status, td, tasks) + rq.prepare_runqueue() + rq.execute_runqueue() except Providers.NoProvider: print "ERROR: No Provider" |