Require swift creds for private PPAs

sil2100/private-runs
Łukasz 'sil2100' Zemczak 4 years ago
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…
Cancel
Save