Stop setting artifacts link if log is running.shtml.

bzr-import-20160707
Robert Bruce Park 9 years ago
parent 7478b80b85
commit fbb4293091

@ -1965,7 +1965,8 @@ class Britney(object):
for arch, (status, log_url) in arch_status.items(): for arch, (status, log_url) in arch_status.items():
kwargs = {} kwargs = {}
if self.options.adt_ppas: if self.options.adt_ppas:
kwargs['artifact_url'] = log_url.replace('log.gz', 'artifacts.tar.gz') if log_url.endswith('log.gz'):
kwargs['artifact_url'] = log_url.replace('log.gz', 'artifacts.tar.gz')
else: else:
kwargs['history_url'] = cloud_url % { kwargs['history_url'] = cloud_url % {
'h': srchash(adtsrc), 's': adtsrc, 'h': srchash(adtsrc), 's': adtsrc,

Loading…
Cancel
Save