summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-03 20:33:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:34 +0000
commit0e5404cedadaea6738ef6468d7eb8a24d23d9bab (patch)
tree7555415ba22517fc6bea53ff3358c71e3c6ad292
parentb93683c910326e7aec412ded2b08762014d4cb08 (diff)
downloadpoky-0e5404cedadaea6738ef6468d7eb8a24d23d9bab.tar.gz
bitbake/fetch2: Drop horrible SRCREV hack which is no longer needed
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index daf8578f5f..c807601974 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -595,9 +595,6 @@ class FetchData(object):
595 self.basename = os.path.basename(self.localpath) 595 self.basename = os.path.basename(self.localpath)
596 else: 596 else:
597 self.localpath = self.method.localpath(self.url, self, d) 597 self.localpath = self.method.localpath(self.url, self, d)
598 # We have to clear data's internal caches since the cached value of SRCREV is now wrong.
599 # Horrible...
600 bb.data.delVar("ISHOULDNEVEREXIST", d)
601 598
602 if self.localpath is not None: 599 if self.localpath is not None:
603 # Note: These files should always be in DL_DIR whereas localpath may not be. 600 # Note: These files should always be in DL_DIR whereas localpath may not be.