Commit af004787 authored by Arno Töll's avatar Arno Töll
Browse files

Improve error message when rejecting an upload due to a missing orig.tar.gz

parent 7cd85c49
...@@ -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)
......
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