From: Richard Purdie Date: Sat, 13 Nov 2010 02:23:15 +0000 (+0800) Subject: bitbake/fetch/local: Fix os.exists reference X-Git-Tag: 2011-1~4097 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f8e33979352528bb7c289e7c839605a5880e1e43;p=openembedded-core.git bitbake/fetch/local: Fix os.exists reference Signed-off-by: Richard Purdie --- 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): 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)