summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/fetch2/local.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-04 14:40:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:37 +0000
commit7202a77134029cb37540c785ce0161a4dd574853 (patch)
treee9b8d7d3c180260317b661ce0f325a5492d9a6db /bitbake/lib/bb/fetch2/local.py
parent8f2abf4a9f000d42e98c4936e393bd5033a1af48 (diff)
downloadopenembedded-core-7202a77134029cb37540c785ce0161a4dd574853.tar.gz
openembedded-core-7202a77134029cb37540c785ce0161a4dd574853.tar.bz2
openembedded-core-7202a77134029cb37540c785ce0161a4dd574853.zip
bitbake/fetch2: Use True instead of integer values
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/local.py')
-rw-r--r--bitbake/lib/bb/fetch2/local.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
index 7b840a46d3..d77d39375e 100644
--- a/bitbake/lib/bb/fetch2/local.py
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -50,11 +50,11 @@ class Local(FetchMethod):
path = path.split(";")[0]
newpath = path
if path[0] != "/":
- filespath = data.getVar('FILESPATH', d, 1)
+ filespath = data.getVar('FILESPATH', d, True)
if filespath:
newpath = bb.utils.which(filespath, path)
if not newpath:
- filesdir = data.getVar('FILESDIR', d, 1)
+ filesdir = data.getVar('FILESDIR', d, True)
if filesdir:
newpath = os.path.join(filesdir, path)
return newpath