From d34c0a27776b291f68bed3d818cda870beb4ade7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 11 Sep 2017 12:26:31 +0200 Subject: [PATCH] gather(dnf): Remove dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lubomír Sedlář --- pungi/gather_dnf.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pungi/gather_dnf.py b/pungi/gather_dnf.py index d282809d..e77f8cab 100644 --- a/pungi/gather_dnf.py +++ b/pungi/gather_dnf.py @@ -154,15 +154,6 @@ class GatherBase(object): return True return False - def is_multilib_package(self, pkg): - if pkg.arch in self.dnf.arch_wrapper.source_arches: - return False - if pkg.arch == "noarch": - return False - if pkg.arch in self.dnf.arch_wrapper.multilib_arches: - return True - return False - class Gather(GatherBase): def __init__(self, dnf_obj, gather_options, logger=None):