summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/local.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-27 11:22:54 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-27 11:22:54 +0000
commit748039c0e195da2ab3de76ab818a88352921b170 (patch)
treec71a94c4f88b9265d0b3c060bd786e671b29259c /bitbake/lib/bb/fetch/local.py
parent192e4fb821f7158fdeeee129f8c3d8f27dd2ea1a (diff)
downloadpoky-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.py8
1 files changed, 8 insertions, 0 deletions
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):
59 """Fetch urls (no-op for Local method)""" 59 """Fetch urls (no-op for Local method)"""
60 # no need to fetch local files, we'll deal with them in place. 60 # no need to fetch local files, we'll deal with them in place.
61 return 1 61 return 1
62
63 def checkstatus(self, url, urldata, d):
64 """
65 Check the status of the url
66 """
67 if os.path.exists(urldata.localpath):
68 return True
69 return False