pkgset: Ignore deleted module builds
JIRA: COMPOSE-4058 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
e7a58ccd07
commit
52f82ccc6e
3 changed files with 61 additions and 0 deletions
|
|
@ -149,6 +149,12 @@ def get_koji_modules(compose, koji_wrapper, event, module_info_str):
|
|||
except KeyError:
|
||||
continue
|
||||
|
||||
if md['state'] == pungi.wrappers.kojiwrapper.KOJI_BUILD_DELETED:
|
||||
compose.log_debug(
|
||||
"Module build %s has been deleted, ignoring it." % build["name"]
|
||||
)
|
||||
continue
|
||||
|
||||
modules.append(md)
|
||||
|
||||
if not modules:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue