diff options
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r-- | bitbake/lib/bb/fetch/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index 2f92d87d96..684e83dcad 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py | |||
@@ -153,7 +153,7 @@ def fetcher_init(d): | |||
153 | Called to initialize the fetchers once the configuration data is known. | 153 | Called to initialize the fetchers once the configuration data is known. |
154 | Calls before this must not hit the cache. | 154 | Calls before this must not hit the cache. |
155 | """ | 155 | """ |
156 | pd = persist_data.persist(d) | 156 | pd = bb.persist_data.persist(d) |
157 | # When to drop SCM head revisions controlled by user policy | 157 | # When to drop SCM head revisions controlled by user policy |
158 | srcrev_policy = bb.data.getVar('BB_SRCREV_POLICY', d, 1) or "clear" | 158 | srcrev_policy = bb.data.getVar('BB_SRCREV_POLICY', d, 1) or "clear" |
159 | if srcrev_policy == "cache": | 159 | if srcrev_policy == "cache": |
@@ -178,7 +178,7 @@ def fetcher_compare_revisions(d): | |||
178 | return true/false on whether they've changed. | 178 | return true/false on whether they've changed. |
179 | """ | 179 | """ |
180 | 180 | ||
181 | pd = persist_data.persist(d) | 181 | pd = bb.persist_data.persist(d) |
182 | data = pd['BB_URI_HEADREVS'].items() | 182 | data = pd['BB_URI_HEADREVS'].items() |
183 | data2 = bb.fetch.saved_headrevs | 183 | data2 = bb.fetch.saved_headrevs |
184 | 184 | ||
@@ -756,7 +756,7 @@ class Fetch(object): | |||
756 | if not hasattr(self, "_latest_revision"): | 756 | if not hasattr(self, "_latest_revision"): |
757 | raise ParameterError | 757 | raise ParameterError |
758 | 758 | ||
759 | pd = persist_data.persist(d) | 759 | pd = bb.persist_data.persist(d) |
760 | revs = pd['BB_URI_HEADREVS'] | 760 | revs = pd['BB_URI_HEADREVS'] |
761 | key = self.generate_revision_key(url, ud, d) | 761 | key = self.generate_revision_key(url, ud, d) |
762 | rev = revs[key] | 762 | rev = revs[key] |
@@ -773,7 +773,7 @@ class Fetch(object): | |||
773 | if hasattr(self, "_sortable_revision"): | 773 | if hasattr(self, "_sortable_revision"): |
774 | return self._sortable_revision(url, ud, d) | 774 | return self._sortable_revision(url, ud, d) |
775 | 775 | ||
776 | pd = persist_data.persist(d) | 776 | pd = bb.persist_data.persist(d) |
777 | localcounts = pd['BB_URI_LOCALCOUNT'] | 777 | localcounts = pd['BB_URI_LOCALCOUNT'] |
778 | key = self.generate_revision_key(url, ud, d) | 778 | key = self.generate_revision_key(url, ud, d) |
779 | 779 | ||