From 287b170488897663597054c77900372ca9e92c10 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 11 Jan 2017 10:24:35 +0100 Subject: import-orig: Make sure we exit non zero Although none of the callers returns None but raises an exception this is more defensive. --- 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 7013a651..2e139ab6 100644 --- a/gbp/scripts/import_orig.py +++ b/gbp/scripts/import_orig.py @@ -520,7 +520,7 @@ def main(argv): else: source = find_source(options.uscan, args) if not source: - return ret + return ExitCodes.failed # The main tarball (sourcepackage, version) = detect_name_and_version(repo, source, options) -- cgit v1.2.3