diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-27 11:22:54 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-27 11:22:54 +0000 |
commit | 748039c0e195da2ab3de76ab818a88352921b170 (patch) | |
tree | c71a94c4f88b9265d0b3c060bd786e671b29259c /bitbake/lib/bb/fetch/local.py | |
parent | 192e4fb821f7158fdeeee129f8c3d8f27dd2ea1a (diff) | |
download | ast2050-yocto-poky-748039c0e195da2ab3de76ab818a88352921b170.zip ast2050-yocto-poky-748039c0e195da2ab3de76ab818a88352921b170.tar.gz |
bitbake: Sync with bitbake 1.8 branch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4352 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/fetch/local.py')
-rw-r--r-- | bitbake/lib/bb/fetch/local.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 5e480a2..a39cdce 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py @@ -59,3 +59,11 @@ class Local(Fetch): """Fetch urls (no-op for Local method)""" # no need to fetch local files, we'll deal with them in place. return 1 + + def checkstatus(self, url, urldata, d): + """ + Check the status of the url + """ + if os.path.exists(urldata.localpath): + return True + return False |