Verified Commit 520bce88 authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Fix failed to download condition in getorigtarball

parent 1e3b2985
...@@ -121,7 +121,7 @@ class GetOrigTarballPlugin(BasePlugin): ...@@ -121,7 +121,7 @@ class GetOrigTarballPlugin(BasePlugin):
if not downloaded: if not downloaded:
log.debug('Failed to download from debian archive') log.debug('Failed to download from debian archive')
return self.failed('failed-to-download', return self.failed(outcomes['failed-to-download'],
(None, (None,
list(set(self.additional_files))), list(set(self.additional_files))),
constants.PLUGIN_SEVERITY_ERROR) constants.PLUGIN_SEVERITY_ERROR)
...@@ -144,4 +144,5 @@ outcomes = { ...@@ -144,4 +144,5 @@ outcomes = {
'file present in the official archives'}, 'file present in the official archives'},
'invalid-orig': {'name': 'Could not find a valid orig tarball'}, 'invalid-orig': {'name': 'Could not find a valid orig tarball'},
'found-orig': {'name': 'Found origin tarball'}, 'found-orig': {'name': 'Found origin tarball'},
'failed-to-download': {'name': 'Failed to download from debian archive'},
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment