From 7202a77134029cb37540c785ce0161a4dd574853 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Feb 2011 14:40:41 +0000 Subject: bitbake/fetch2: Use True instead of integer values Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/fetch2/local.py') diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py index 7b840a46d..d77d39375 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 -- cgit v1.2.3