diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-01-11 10:24:35 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-01-11 10:53:43 +0100 |
commit | 287b170488897663597054c77900372ca9e92c10 (patch) | |
tree | 4c92feff68c5602324b39743798522b21ba64fd5 | |
parent | 4086fc9b7e019b70eda53391489d3644494abba5 (diff) |
import-orig: Make sure we exit non zero
Although none of the callers returns None but raises an exception this
is more defensive.
-rw-r--r-- | gbp/scripts/import_orig.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |