[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: dont fail if the udd connection is broken
    Holger Levsen 
    holger at moszumanska.debian.org
       
    Wed Sep 23 14:04:03 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch h01ger/graceful-udd-error-handling
in repository jenkins.debian.net.
commit 9cd1bb9aed3b365cf773e3b522201a1c3d5c7360
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Sep 23 16:03:41 2015 +0200
    reproducible: dont fail if the udd connection is broken
---
 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 32f627c..f325155 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 ' +
-- 
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