diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 20:02:38 +0800 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 20:02:38 +0800 |
| commit | aa81dda4d4f27ec0d3f54e62d329416819a27fa6 (patch) | |
| tree | 653eb34c0f293e708247210665bf165a7432391e | |
| parent | f8e33979352528bb7c289e7c839605a5880e1e43 (diff) | |
| download | poky-aa81dda4d4f27ec0d3f54e62d329416819a27fa6.tar.gz | |
Revert "bitbake/fetch/local: Fix os.exists reference"
These changes were incorrect.
This reverts commit f8e33979352528bb7c289e7c839605a5880e1e43.
| -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 f9f8994f0e..3553f37a7a 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.path.exists(dlpath): | 54 | if os.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) |
