diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-06-28 19:26:18 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-06-28 19:26:18 +0200 |
commit | cc4f2ae7b14cffc3ef7cae7d2e7c020264f577eb (patch) | |
tree | 5627015009972940bd1f864d31c384a6665d5f06 | |
parent | cd9a038660f402cb974fead8678739abb676f2bd (diff) |
pristine_tar: catch GitRepositoryError as well
so we get a proper error message when pristine-tar is not installed.
-rw-r--r-- | gbp/scripts/pristine_tar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pristine_tar.py b/gbp/scripts/pristine_tar.py index 909d2411..41921a01 100644 --- a/gbp/scripts/pristine_tar.py +++ b/gbp/scripts/pristine_tar.py @@ -100,7 +100,7 @@ def main(argv): repo.create_pristinetar_commits(upstream_tag, tarball, component_tarballs) - except (GbpError, CommandExecFailed) as err: + except (GitRepositoryError, GbpError, CommandExecFailed) as err: if str(err): gbp.log.err(err) ret = 1 |