summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-13 10:23:15 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-13 10:23:15 +0800
commitf8e33979352528bb7c289e7c839605a5880e1e43 (patch)
treec83683e815ef3c451dcc6735c969951119b6776a
parentae98f7eacb9e61fe086d88dc694b4c651af9fee3 (diff)
downloadpoky-f8e33979352528bb7c289e7c839605a5880e1e43.tar.gz
bitbake/fetch/local: Fix os.exists reference
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/fetch/local.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py
index 3553f37a7a..f9f8994f0e 100644
--- a/bitbake/lib/bb/fetch/local.py
+++ b/bitbake/lib/bb/fetch/local.py
@@ -51,7 +51,7 @@ class Local(Fetch):
51 newpath = bb.utils.which(filespath, path) 51 newpath = bb.utils.which(filespath, path)
52 if not newpath: 52 if not newpath:
53 dlpath = os.path.join(data.getVar('DL_DIR', d, True), path) 53 dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
54 if os.exists(dlpath): 54 if os.path.exists(dlpath):
55 newpath = dlpath 55 newpath = dlpath
56 if not newpath: 56 if not newpath:
57 filesdir = data.getVar('FILESDIR', d, 1) 57 filesdir = data.getVar('FILESDIR', d, 1)