diff options
-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 b00aeb3afd..2ada43befc 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1595,7 +1595,7 @@ class Fetch(object): | |||
1595 | fn = d.getVar('FILE') | 1595 | fn = d.getVar('FILE') |
1596 | mc = d.getVar('__BBMULTICONFIG') or "" | 1596 | mc = d.getVar('__BBMULTICONFIG') or "" |
1597 | if cache and fn and mc + fn in urldata_cache: | 1597 | if cache and fn and mc + fn in urldata_cache: |
1598 | self.ud = urldata_cache[mc + fn] | 1598 | self.ud = urldata_cache[mc + fn + str(id(d))] |
1599 | 1599 | ||
1600 | for url in urls: | 1600 | for url in urls: |
1601 | if url not in self.ud: | 1601 | if url not in self.ud: |
@@ -1607,7 +1607,7 @@ class Fetch(object): | |||
1607 | pass | 1607 | pass |
1608 | 1608 | ||
1609 | if fn and cache: | 1609 | if fn and cache: |
1610 | urldata_cache[mc + fn] = self.ud | 1610 | urldata_cache[mc + fn + str(id(d))] = self.ud |
1611 | 1611 | ||
1612 | def localpath(self, url): | 1612 | def localpath(self, url): |
1613 | if url not in self.urls: | 1613 | if url not in self.urls: |