Simplify add_binary_package_deps
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
c32bdce46d
commit
5533bf7ca3
@ -433,9 +433,7 @@ class Gather(GatherBase):
|
|||||||
for pkg in self.result_binary_packages.copy():
|
for pkg in self.result_binary_packages.copy():
|
||||||
assert pkg is not None
|
assert pkg is not None
|
||||||
|
|
||||||
try:
|
if pkg not in self.finished_add_binary_package_deps:
|
||||||
deps = self.finished_add_binary_package_deps[pkg]
|
|
||||||
except KeyError:
|
|
||||||
deps = self._get_package_deps(pkg)
|
deps = self._get_package_deps(pkg)
|
||||||
for i in deps:
|
for i in deps:
|
||||||
if i not in self.result_binary_packages:
|
if i not in self.result_binary_packages:
|
||||||
|
Loading…
Reference in New Issue
Block a user