import-orig: Print name of signature file we failed to import
authorGuido Günther <agx@sigxcpu.org>
Mon, 29 Jun 2020 12:36:57 +0000 (14:36 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 29 Jun 2020 12:36:57 +0000 (14:36 +0200)
gbp/scripts/import_orig.py

index 2452abe61a0d3502e0ab9042a9c0b1f3bccab990..72e6004beeff680a8ed41a6d0d7e1cefe68c35c5 100644 (file)
@@ -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 %s" % (source.path, source.signature.file))
+                            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