From 748039c0e195da2ab3de76ab818a88352921b170 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 27 Apr 2008 11:22:54 +0000 Subject: bitbake: Sync with bitbake 1.8 branch git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4352 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/fetch/local.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bitbake/lib/bb/fetch/local.py') diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 5e480a208e..a39cdce22f 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 -- cgit v1.2.3-54-g00ecf