diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-07-08 12:54:31 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-07-08 12:54:31 +0000 |
commit | 856526609b2cd88a3f272ff6f4564d877a1e8c43 (patch) | |
tree | 63e7c3d7ccdc8d8310385d40a0b427832640daf9 /lib/bb/shell.py | |
parent | 7d55491f88ff90a4c16ad87b1483d55b1824acfc (diff) | |
download | bitbake-856526609b2cd88a3f272ff6f4564d877a1e8c43.tar.gz |
bitbake/lib/bb/providers.py:
bitbake/lib/bb/__init__.py:
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
* Move providers functions into their own file. The arguments are horrible
at present but we have to start somewhere with the cleanup and refactoring.
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r-- | lib/bb/shell.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py index d4b4cb4df..5db488554 100644 --- a/lib/bb/shell.py +++ b/lib/bb/shell.py @@ -107,7 +107,7 @@ class BitBakeShellCommands: preferred = data.getVar( "PREFERRED_PROVIDER_%s" % item, cooker.configuration.data, 1 ) if not preferred: preferred = item try: - lv, lf, pv, pf = cooker.findBestProvider( preferred ) + lv, lf, pv, pf = bb.providers.findBestProvider(preferred, cooker.configuration.data, cooker.status, cooker.build_cache_fail, cooker.configuration.verbose) except KeyError: if item in cooker.status.providers: pf = cooker.status.providers[item][0] @@ -537,7 +537,7 @@ SRC_URI = "" if not preferred: preferred = item try: - lv, lf, pv, pf = cooker.findBestProvider( preferred ) + lv, lf, pv, pf = bb.providers.findBestProvider(preferred, cooker.configuration.data, cooker.status, cooker.build_cache_fail, cooker.configuration.verbose) except KeyError: lv, lf, pv, pf = (None,)*4 |