From 0661440c9b1493ff8a5e7a6283f9eca1c9e192f9 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 29 Jun 2020 16:58:10 +0200 Subject: Revert "import-orig: Print name of signature file we failed to import" It will always be none (see check above that). This reverts commit 3dc0bf3a8acfccdafa82b91bcc89ca2c82b46a1f. --- gbp/scripts/import_orig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbp/scripts/import_orig.py b/gbp/scripts/import_orig.py index 72e6004b..6c40ea0f 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 '%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 -- cgit v1.2.3