summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/local.py
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-02-09 14:30:29 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:49:25 +0000
commit14dea89521c0c648e8e543388096a6dcd6d4f2e0 (patch)
treeddb73f19d8eeaa659905968ee1de28b9750b5628 /bitbake/lib/bb/fetch2/local.py
parentf1bbea4ab0c41cf93cd1a2d0d4d05a4ad06a0728 (diff)
downloadpoky-14dea89521c0c648e8e543388096a6dcd6d4f2e0.tar.gz
fetch2: Correct the clean() mechanism for the fetcher2 code
This create a clean() method in each of the fetcher modules and correctly cleans the .done stamp file and lock files Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch2/local.py')
-rw-r--r--bitbake/lib/bb/fetch2/local.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
index d77d39375e..77a296ec67 100644
--- a/bitbake/lib/bb/fetch2/local.py
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -74,3 +74,7 @@ class Local(FetchMethod):
74 if os.path.exists(urldata.localpath): 74 if os.path.exists(urldata.localpath):
75 return True 75 return True
76 return False 76 return False
77
78 def clean(self, urldata, d):
79 return
80