summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/fetch/local.py')
-rw-r--r--lib/bb/fetch/local.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bb/fetch/local.py b/lib/bb/fetch/local.py
index 5e480a208..a39cdce22 100644
--- a/lib/bb/fetch/local.py
+++ b/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