From aa81dda4d4f27ec0d3f54e62d329416819a27fa6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 13 Nov 2010 20:02:38 +0800 Subject: Revert "bitbake/fetch/local: Fix os.exists reference" These changes were incorrect. This reverts commit f8e33979352528bb7c289e7c839605a5880e1e43. --- bitbake/lib/bb/fetch/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index f9f8994f0e..3553f37a7a 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.path.exists(dlpath): + if os.exists(dlpath): newpath = dlpath if not newpath: filesdir = data.getVar('FILESDIR', d, 1) -- cgit v1.2.3