Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
520bce88
Verified
Commit
520bce88
authored
Mar 07, 2020
by
Baptiste Beauplat
Browse files
Fix failed to download condition in getorigtarball
parent
1e3b2985
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/plugins/getorigtarball.py
View file @
520bce88
...
@@ -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'
},
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment