bitbake/fetch2: Drop horrible SRCREV hack which is no longer needed

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-03 20:33:07 +00:00
parent b93683c910
commit 0e5404ceda

View File

@@ -595,9 +595,6 @@ class FetchData(object):
self.basename = os.path.basename(self.localpath)
else:
self.localpath = self.method.localpath(self.url, self, d)
# We have to clear data's internal caches since the cached value of SRCREV is now wrong.
# Horrible...
bb.data.delVar("ISHOULDNEVEREXIST", d)
if self.localpath is not None:
# Note: These files should always be in DL_DIR whereas localpath may not be.