From f7a9090fa3ce947a938a2712fde73f424f73161a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 13 Nov 2010 10:23:15 +0800 Subject: [PATCH] bitbake/fetch/local: Fix os.exists reference Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 3553f37..f9f8994 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py @@ -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) -- 2.7.4