mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-19 22:31:07 +00:00
ubuntu-build: don't retry builds Launchpad tells us can't be retried
This commit is contained in:
parent
59041af613
commit
c869d07f75
@ -374,11 +374,11 @@ def main():
|
||||
build.source_package_version
|
||||
)
|
||||
|
||||
if args.retry:
|
||||
if args.retry and build.can_be_retried:
|
||||
Logger.info("Retrying build of %s on %s...",
|
||||
build.source_package_name, build.arch_tag)
|
||||
retry_count += 1
|
||||
build.retry()
|
||||
retry_count += 1
|
||||
|
||||
if args.priority and can_rescore:
|
||||
if build.can_be_rescored:
|
||||
|
Loading…
x
Reference in New Issue
Block a user