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 1f5f8f1f14..07de6c2693 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
| @@ -1593,7 +1593,7 @@ class Fetch(object): | |||
| 1593 | fn = d.getVar('FILE') | 1593 | fn = d.getVar('FILE') |
| 1594 | mc = d.getVar('__BBMULTICONFIG') or "" | 1594 | mc = d.getVar('__BBMULTICONFIG') or "" |
| 1595 | if cache and fn and mc + fn in urldata_cache: | 1595 | if cache and fn and mc + fn in urldata_cache: |
| 1596 | self.ud = urldata_cache[mc + fn] | 1596 | self.ud = urldata_cache[mc + fn + str(id(d))] |
| 1597 | 1597 | ||
| 1598 | for url in urls: | 1598 | for url in urls: |
| 1599 | if url not in self.ud: | 1599 | if url not in self.ud: |
| @@ -1605,7 +1605,7 @@ class Fetch(object): | |||
| 1605 | pass | 1605 | pass |
| 1606 | 1606 | ||
| 1607 | if fn and cache: | 1607 | if fn and cache: |
| 1608 | urldata_cache[mc + fn] = self.ud | 1608 | urldata_cache[mc + fn + str(id(d))] = self.ud |
| 1609 | 1609 | ||
| 1610 | def localpath(self, url): | 1610 | def localpath(self, url): |
| 1611 | if url not in self.urls: | 1611 | if url not in self.urls: |
