diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 10:23:15 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 10:23:15 +0800 |
commit | f8e33979352528bb7c289e7c839605a5880e1e43 (patch) | |
tree | c83683e815ef3c451dcc6735c969951119b6776a /bitbake/lib/bb/fetch | |
parent | ae98f7eacb9e61fe086d88dc694b4c651af9fee3 (diff) | |
download | openembedded-core-f8e33979352528bb7c289e7c839605a5880e1e43.tar.gz openembedded-core-f8e33979352528bb7c289e7c839605a5880e1e43.tar.bz2 openembedded-core-f8e33979352528bb7c289e7c839605a5880e1e43.tar.xz openembedded-core-f8e33979352528bb7c289e7c839605a5880e1e43.zip |
bitbake/fetch/local: Fix os.exists reference
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r-- | bitbake/lib/bb/fetch/local.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 3553f37a7..f9f8994f0 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) |