Revert "import-orig: Print name of signature file we failed to import"
authorGuido Günther <agx@sigxcpu.org>
Mon, 29 Jun 2020 14:58:10 +0000 (16:58 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 29 Jun 2020 14:58:40 +0000 (16:58 +0200)
It will always be none (see check above that).

This reverts commit 3dc0bf3a8acfccdafa82b91bcc89ca2c82b46a1f.

gbp/scripts/import_orig.py

index 72e6004beeff680a8ed41a6d0d7e1cefe68c35c5..6c40ea0fc47027ea8b53693e517f174ecb4a6e57 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" % source.path)
                     # For all practical purposes we're interested in pristine_orig's path
                     if pristine_orig != sources[0].path:
                         sources[0]._path = pristine_orig