summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-23 16:03:41 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-23 16:10:53 +0200
commitca3b1f832ac718677b3205ab73f78b70c96bf784 (patch)
treedb348953f1996543ef2994daf32e2240e27c6589 /bin/reproducible_common.py
parent8c7fa2efc26d05ad86c15bcd58814fd6efd820e7 (diff)
downloadjenkins.debian.net-ca3b1f832ac718677b3205ab73f78b70c96bf784.tar.xz
reproducible: dont fail if the udd connection is broken
Diffstat (limited to 'bin/reproducible_common.py')
-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 32f627c6..f3251553 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -370,8 +370,8 @@ def query_udd(query):
'Please look for a previous error for more information.')
log.error('Failing nicely anyway, returning an empty response.')
return []
- cursor = conn_udd.cursor()
try:
+ cursor = conn_udd.cursor()
cursor.execute(query)
except:
log.error('The UDD server encountered a issue while executing the ' +