Simplify add_multilib_package method
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
cd80d6ef5a
commit
a9415eb0e5
@ -688,9 +688,8 @@ class Gather(GatherBase):
|
|||||||
added = set()
|
added = set()
|
||||||
|
|
||||||
for pkg in sorted(self.result_binary_packages):
|
for pkg in sorted(self.result_binary_packages):
|
||||||
try:
|
if pkg in self.finished_add_multilib_packages:
|
||||||
self.finished_add_multilib_packages[pkg]
|
continue
|
||||||
except KeyError:
|
|
||||||
|
|
||||||
if pkg.arch in ("noarch", "src", "nosrc"):
|
if pkg.arch in ("noarch", "src", "nosrc"):
|
||||||
self.finished_add_multilib_packages[pkg] = None
|
self.finished_add_multilib_packages[pkg] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user