gather(dnf): Remove dead code
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
239e6b4301
commit
d34c0a2777
@ -154,15 +154,6 @@ class GatherBase(object):
|
|||||||
return True
|
return True
|
||||||
return False
|
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):
|
class Gather(GatherBase):
|
||||||
def __init__(self, dnf_obj, gather_options, logger=None):
|
def __init__(self, dnf_obj, gather_options, logger=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user