summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/local.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-10 22:05:02 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:33 +0100
commitbcd9c57a96c04c27883746feb0e75211f8de6d32 (patch)
treee393bbf7e0336f1098cc9228fd61aee2b3febd88 /bitbake/lib/bb/fetch/local.py
parentc770c62fdcf35e76ed03361de901964bbe68433a (diff)
downloadpoky-bcd9c57a96c04c27883746feb0e75211f8de6d32.tar.gz
Switch some references to moved functions
(Bitbake rev: ddea2978cb969cf1381cfee5c055de0c9e56a4e3) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch/local.py')
-rw-r--r--bitbake/lib/bb/fetch/local.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py
index a2abc8639c..882a2c4602 100644
--- a/bitbake/lib/bb/fetch/local.py
+++ b/bitbake/lib/bb/fetch/local.py
@@ -27,6 +27,7 @@ BitBake build tools.
27 27
28import os 28import os
29import bb 29import bb
30import bb.utils
30from bb import data 31from bb import data
31from bb.fetch import Fetch 32from bb.fetch import Fetch
32 33
@@ -47,7 +48,7 @@ class Local(Fetch):
47 if path[0] != "/": 48 if path[0] != "/":
48 filespath = data.getVar('FILESPATH', d, 1) 49 filespath = data.getVar('FILESPATH', d, 1)
49 if filespath: 50 if filespath:
50 newpath = bb.which(filespath, path) 51 newpath = bb.utils.which(filespath, path)
51 if not newpath: 52 if not newpath:
52 filesdir = data.getVar('FILESDIR', d, 1) 53 filesdir = data.getVar('FILESDIR', d, 1)
53 if filesdir: 54 if filesdir: