diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-08-19 19:53:45 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-19 22:29:26 +0200 |
commit | 3f0bdcb6b970f7c08b9d9644b7c067418e5ca84d (patch) | |
tree | 4ebe187349cf5d3613557732e88ed4f16adcdf87 /bin | |
parent | 32f1504173923bf578786b0d6f586a04a4447310 (diff) | |
download | jenkins.debian.net-3f0bdcb6b970f7c08b9d9644b7c067418e5ca84d.tar.xz |
reproducible debian: common: add missing 'sys.' on the exit(1) call
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 985f2eb7..d6d4a138 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -391,7 +391,7 @@ def query_db(query): if ex.orig and ex.orig.args and ex.orig.args[0] == "database is locked": print_critical_message('SQLite database locked, could not execute ' + 'query:\n"%s"\nExiting script.' % query) - exit(1) + sys.exit(1) else: print_critical_message('Error executing this query:\n' + query) raise |