Remove unused variables
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
0a90f18b1f
commit
fa6197246b
@ -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,
|
||||
|
@ -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/<vendor>/<scl_name>/root/...
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user