Simplify add_binary_package_deps

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-02-02 14:43:36 +01:00
parent c32bdce46d
commit 5533bf7ca3

View File

@ -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: