diff --git a/pungi/gather.py b/pungi/gather.py index 6c152e58..2c68561c 100644 --- a/pungi/gather.py +++ b/pungi/gather.py @@ -834,7 +834,6 @@ class Pungi(PungiBase): """Cycle through the list of packages and get package object matches.""" searchlist = [] # The list of package names/globs to search for - matchdict = {} # A dict of objects to names excludeGroups = [] # A list of groups for removal defined in the ks file # precompute pkgs and pkg_refs to speed things up @@ -1775,7 +1774,6 @@ class Pungi(PungiBase): self.logger.info("ARCH: arm, not doing doCreateIsos().") return - isolist = [] ppcbootinfo = '/usr/share/lorax/config_files/ppc' pungi.util._ensuredir(self.isodir, self.logger, diff --git a/pungi/multilib_yum.py b/pungi/multilib_yum.py index c58c9638..6c74e661 100755 --- a/pungi/multilib_yum.py +++ b/pungi/multilib_yum.py @@ -71,7 +71,6 @@ def read_runtime_patterns_from_file(path): def expand_runtime_patterns(patterns): pm = pungi.pathmatch.PathMatch() - result = [] for path, pattern in patterns: for root in ("", "/opt/*/*/root"): # include Software Collections: /opt///root/... diff --git a/pungi/wrappers/kojiwrapper.py b/pungi/wrappers/kojiwrapper.py index 359acbce..4a98efbf 100644 --- a/pungi/wrappers/kojiwrapper.py +++ b/pungi/wrappers/kojiwrapper.py @@ -435,7 +435,6 @@ class KojiWrapper(object): def get_wrapped_rpm_path(self, task_id, srpm=False): result = [] - parent_task = self.koji_proxy.getTaskInfo(task_id, request=True) task_info_list = [] task_info_list.extend(self.koji_proxy.getTaskChildren(task_id, request=True)) @@ -446,9 +445,6 @@ class KojiWrapper(object): task_info = i break - # Check parent_task if it's scratch build - scratch = parent_task["request"][-1].get("scratch", False) - # Get results of wrapperRPM task # {'buildroot_id': 2479520, # 'logs': ['checkout.log', 'root.log', 'state.log', 'build.log'],