summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-08-19 19:53:45 +0000
committerHolger Levsen <holger@layer-acht.org>2016-08-19 22:29:26 +0200
commit3f0bdcb6b970f7c08b9d9644b7c067418e5ca84d (patch)
tree4ebe187349cf5d3613557732e88ed4f16adcdf87
parent32f1504173923bf578786b0d6f586a04a4447310 (diff)
downloadjenkins.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>
-rwxr-xr-xbin/reproducible_common.py2
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