aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-06-29 14:36:05 +0200
committerGuido Günther <agx@sigxcpu.org>2020-06-29 14:36:05 +0200
commit3dc0bf3a8acfccdafa82b91bcc89ca2c82b46a1f (patch)
tree7ff9771f850e8b9fc1ca3efd26a4fd628df2b04b
parenta3d9c9824ddef3837b3740e1a9bc66438c72bc54 (diff)
import-orig: Print name of signature file we failed to import
-rw-r--r--gbp/scripts/import_orig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_orig.py b/gbp/scripts/import_orig.py
index 6c40ea0f..2452abe6 100644
--- a/gbp/scripts/import_orig.py
+++ b/gbp/scripts/import_orig.py
@@ -514,7 +514,7 @@ def main(argv):
for source in sources:
# Enforce signature file exists with --upstream-signatures=on
if options.upstream_signatures.is_on() and not source.signaturefile:
- raise GbpError("%s does not have a signature file" % source.path)
+ raise GbpError("%s does not have a signature file %s" % (source.path, source.signature.file))
# For all practical purposes we're interested in pristine_orig's path
if pristine_orig != sources[0].path:
sources[0]._path = pristine_orig