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
af004787
Commit
af004787
authored
Sep 18, 2011
by
Arno Töll
Browse files
Improve error message when rejecting an upload due to a missing orig.tar.gz
parent
7cd85c49
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/scripts/debexpo_importer.py
View file @
af004787
...
@@ -459,8 +459,11 @@ class Importer(object):
...
@@ -459,8 +459,11 @@ class Importer(object):
# c) No plugin could get the orig.tar.gz
# c) No plugin could get the orig.tar.gz
# ... time to give up
# ... time to give up
self
.
_remove_changes
()
self
.
_remove_changes
()
if
orig
==
None
:
orig
=
"any original tarball (orig.tar.gz)"
self
.
_reject
(
"Rejecting incomplate upload. "
self
.
_reject
(
"Rejecting incomplate upload. "
"You did not upload %s and we didn't find it on either one of our alternative resources"
%
"You did not upload %s and we didn't find it on either one of our alternative resources.
\n
"
\
"If you tried to upload a Debian revision package, make sure you include the full source (pass -sa to dpkg-buildpackage)"
%
(
orig
))
(
orig
))
else
:
else
:
toinstall
.
append
(
orig
)
toinstall
.
append
(
orig
)
...
...
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