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."""
|
"""Cycle through the list of packages and get package object matches."""
|
||||||
|
|
||||||
searchlist = [] # The list of package names/globs to search for
|
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
|
excludeGroups = [] # A list of groups for removal defined in the ks file
|
||||||
|
|
||||||
# precompute pkgs and pkg_refs to speed things up
|
# precompute pkgs and pkg_refs to speed things up
|
||||||
@ -1775,7 +1774,6 @@ class Pungi(PungiBase):
|
|||||||
self.logger.info("ARCH: arm, not doing doCreateIsos().")
|
self.logger.info("ARCH: arm, not doing doCreateIsos().")
|
||||||
return
|
return
|
||||||
|
|
||||||
isolist = []
|
|
||||||
ppcbootinfo = '/usr/share/lorax/config_files/ppc'
|
ppcbootinfo = '/usr/share/lorax/config_files/ppc'
|
||||||
|
|
||||||
pungi.util._ensuredir(self.isodir, self.logger,
|
pungi.util._ensuredir(self.isodir, self.logger,
|
||||||
|
@ -71,7 +71,6 @@ def read_runtime_patterns_from_file(path):
|
|||||||
|
|
||||||
def expand_runtime_patterns(patterns):
|
def expand_runtime_patterns(patterns):
|
||||||
pm = pungi.pathmatch.PathMatch()
|
pm = pungi.pathmatch.PathMatch()
|
||||||
result = []
|
|
||||||
for path, pattern in patterns:
|
for path, pattern in patterns:
|
||||||
for root in ("", "/opt/*/*/root"):
|
for root in ("", "/opt/*/*/root"):
|
||||||
# include Software Collections: /opt/<vendor>/<scl_name>/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):
|
def get_wrapped_rpm_path(self, task_id, srpm=False):
|
||||||
result = []
|
result = []
|
||||||
parent_task = self.koji_proxy.getTaskInfo(task_id, request=True)
|
|
||||||
task_info_list = []
|
task_info_list = []
|
||||||
task_info_list.extend(self.koji_proxy.getTaskChildren(task_id, request=True))
|
task_info_list.extend(self.koji_proxy.getTaskChildren(task_id, request=True))
|
||||||
|
|
||||||
@ -446,9 +445,6 @@ class KojiWrapper(object):
|
|||||||
task_info = i
|
task_info = i
|
||||||
break
|
break
|
||||||
|
|
||||||
# Check parent_task if it's scratch build
|
|
||||||
scratch = parent_task["request"][-1].get("scratch", False)
|
|
||||||
|
|
||||||
# Get results of wrapperRPM task
|
# Get results of wrapperRPM task
|
||||||
# {'buildroot_id': 2479520,
|
# {'buildroot_id': 2479520,
|
||||||
# 'logs': ['checkout.log', 'root.log', 'state.log', 'build.log'],
|
# 'logs': ['checkout.log', 'root.log', 'state.log', 'build.log'],
|
||||||
|
Loading…
Reference in New Issue
Block a user