mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
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.
This commit is contained in:
parent
001d108b96
commit
4471193d9c
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user