From ca3b1f832ac718677b3205ab73f78b70c96bf784 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 23 Sep 2015 16:03:41 +0200 Subject: reproducible: dont fail if the udd connection is broken --- bin/reproducible_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_common.py') 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 ' + -- cgit v1.2.3-70-g09d2