[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: common: add missing 'sys.' on the exit(1) call
Holger Levsen
holger at layer-acht.org
Fri Aug 19 20:30:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 3f0bdcb6b970f7c08b9d9644b7c067418e5ca84d
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Aug 19 19:53:45 2016 +0000
reproducible debian: common: add missing 'sys.' on the exit(1) call
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
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 985f2eb..d6d4a13 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list