From 3f0bdcb6b970f7c08b9d9644b7c067418e5ca84d Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 19 Aug 2016 19:53:45 +0000 Subject: reproducible debian: common: add missing 'sys.' on the exit(1) call Signed-off-by: Holger Levsen --- bin/reproducible_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2