diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-12 12:09:22 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-12 12:09:22 +0000 |
commit | ed1ad9242877840e2aaccc7dbca53e49e310a202 (patch) | |
tree | 8f7625a611de531d4ad6528e4a3e2d0492d0133b | |
parent | 1db515ce4dfcb86f6502892ad8c5f7ccce5690f6 (diff) | |
download | bitbake-ed1ad9242877840e2aaccc7dbca53e49e310a202.tar.gz |
fetch/local.py: Fix local fetcher's localpath return values (remove parameters)
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/bb/fetch/local.py | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -15,6 +15,7 @@ Changes in Bitbake 1.8.x: - Add profiling option (-P) - Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV cache - Add SRCREV_FORMAT support + - Fix local fetcher's localpath return values Changes in Bitbake 1.8.6: - Correctly redirect stdin when forking diff --git a/lib/bb/fetch/local.py b/lib/bb/fetch/local.py index 9be8f1ce4..5e480a208 100644 --- a/lib/bb/fetch/local.py +++ b/lib/bb/fetch/local.py @@ -38,9 +38,11 @@ class Local(Fetch): return urldata.type in ['file','patch'] def localpath(self, url, urldata, d): - """Return the local filename of a given url assuming a successful fetch. + """ + Return the local filename of a given url assuming a successful fetch. """ path = url.split("://")[1] + path = path.split(";")[0] newpath = path if path[0] != "/": filespath = data.getVar('FILESPATH', d, 1) |