mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 23:38:20 +00:00
Require swift creds for private PPAs
This commit is contained in:
parent
18eb7abb01
commit
4472b83de9
@ -223,6 +223,9 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
auth_version=auth_version
|
||||
)
|
||||
else:
|
||||
if any('@' in ppa for ppa in self.options.adt_ppas):
|
||||
raise RuntimeError('Private PPA configured but no swift credentials given')
|
||||
|
||||
self.swift_conn = None
|
||||
|
||||
# read in the new results
|
||||
|
Loading…
x
Reference in New Issue
Block a user