bitbake/fetch/local: Fix os.exists reference

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-11-13 10:23:15 +08:00
parent ae98f7eacb
commit f8e3397935

View File

@ -51,7 +51,7 @@ class Local(Fetch):
newpath = bb.utils.which(filespath, path)
if not newpath:
dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
if os.exists(dlpath):
if os.path.exists(dlpath):
newpath = dlpath
if not newpath:
filesdir = data.getVar('FILESDIR', d, 1)