diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 708b83dbfa..03e56471d8 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1597,7 +1597,7 @@ class Fetch(object): | |||
1597 | fn = d.getVar('FILE') | 1597 | fn = d.getVar('FILE') |
1598 | mc = d.getVar('__BBMULTICONFIG') or "" | 1598 | mc = d.getVar('__BBMULTICONFIG') or "" |
1599 | if cache and fn and mc + fn in urldata_cache: | 1599 | if cache and fn and mc + fn in urldata_cache: |
1600 | self.ud = urldata_cache[mc + fn] | 1600 | self.ud = urldata_cache[mc + fn + str(id(d))] |
1601 | 1601 | ||
1602 | for url in urls: | 1602 | for url in urls: |
1603 | if url not in self.ud: | 1603 | if url not in self.ud: |
@@ -1609,7 +1609,7 @@ class Fetch(object): | |||
1609 | pass | 1609 | pass |
1610 | 1610 | ||
1611 | if fn and cache: | 1611 | if fn and cache: |
1612 | urldata_cache[mc + fn] = self.ud | 1612 | urldata_cache[mc + fn + str(id(d))] = self.ud |
1613 | 1613 | ||
1614 | def localpath(self, url): | 1614 | def localpath(self, url): |
1615 | if url not in self.urls: | 1615 | if url not in self.urls: |