diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-08-10 14:57:36 -0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-08-10 14:57:36 -0300 |
commit | 67ab6edd56807ac0e0e0ae5f9ca7c5e6157602d2 (patch) | |
tree | efa86b64d6bf1258975eeaf7e2be11d0f10c36c9 /gbp/scripts/push.py | |
parent | da42f704378a0fcc14a94beeecad98110d73d24a (diff) |
push: catch DebianSourceError exception
Diffstat (limited to 'gbp/scripts/push.py')
-rwxr-xr-x | gbp/scripts/push.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/push.py b/gbp/scripts/push.py index d74417d1..14e79a2a 100755 --- a/gbp/scripts/push.py +++ b/gbp/scripts/push.py @@ -23,6 +23,7 @@ import sys import gbp.log from gbp.config import GbpOptionParserDebian from gbp.deb.git import DebianGitRepository, GitRepositoryError +from gbp.deb.source import DebianSourceError from gbp.deb.source import DebianSource from gbp.errors import GbpError from gbp.scripts.common import ExitCodes @@ -156,7 +157,7 @@ def main(argv): to_push, dry_run=options.dryrun) retval = 0 - except (GbpError, GitRepositoryError) as err: + except (GbpError, GitRepositoryError, DebianSourceError) as err: if str(err): gbp.log.err(err) |