From 4471193d9c80e345672a5ac3b4932d9b62ebbdfc Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Tue, 30 May 2017 10:12:56 +0100 Subject: [PATCH] ubuntu-build: Pass the pocket through to the archive permission check So that we can retry builds in releases where the release pocket is frozen - for example so that backporters can retry backports builds. --- ubuntu-build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu-build b/ubuntu-build index c9362e4..8a70862 100755 --- a/ubuntu-build +++ b/ubuntu-build @@ -159,7 +159,8 @@ def main(): if op == "retry": necessary_privs = me.canUploadPackage(ubuntu_archive, distroseries, sources.getPackageName(), - sources.getComponent()) + sources.getComponent(), + pocket=pocket) if op in ('rescore', 'retry') and not necessary_privs: print >> sys.stderr, ("You cannot perform the %s operation on a %s "