From 04715f4906c6a085a1b473b733a7891331984531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Fri, 26 Oct 2018 09:52:57 +0200 Subject: [PATCH] hybrid: Remove dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't explicitly add modular packages anymore, fus is supposed to handle that. Signed-off-by: Lubomír Sedlář --- pungi/phases/gather/methods/method_hybrid.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pungi/phases/gather/methods/method_hybrid.py b/pungi/phases/gather/methods/method_hybrid.py index 242c62b5..bda6c01f 100644 --- a/pungi/phases/gather/methods/method_hybrid.py +++ b/pungi/phases/gather/methods/method_hybrid.py @@ -491,17 +491,6 @@ def expand_packages(nevra_to_pkg, variant_modules, lookasides, nvrs): # Strip file:// prefix lookaside_packages.add(url[7:]) - # Get all packages in modules and include them in rpms or debuginfo. - variant_mmd = {} - for mmd in variant_modules.values(): - nsvc = "%s:%s:%s:%s" % ( - mmd.peek_name(), - mmd.peek_stream(), - mmd.peek_version(), - mmd.peek_context(), - ) - variant_mmd[nsvc] = mmd - # This is used to figure out which debuginfo packages to include. We keep # track of package architectures from each SRPM. srpm_arches = defaultdict(set)