spec.patches: fix dictionary reference (#5608)
This fixes a loop that was iterating through the keys of a dictionary when it was intending to use the values.
This commit is contained in:
parent
44fbf95dd4
commit
395000c385
1 changed files with 3 additions and 2 deletions
|
@ -2535,8 +2535,9 @@ def patches(self):
|
||||||
|
|
||||||
# if not found in this package, check immediate dependents
|
# if not found in this package, check immediate dependents
|
||||||
# for dependency patches
|
# for dependency patches
|
||||||
for dep in self._dependents:
|
for dep_spec in self._dependents.values():
|
||||||
patch = dep.parent.package.lookup_patch(sha256)
|
patch = dep_spec.parent.package.lookup_patch(sha256)
|
||||||
|
|
||||||
if patch:
|
if patch:
|
||||||
patches.append(patch)
|
patches.append(patch)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue