[Qa-jenkins-scm] [jenkins.debian.net] 02/07: reproducible Debian: might as well show the exception

Holger Levsen holger at layer-acht.org
Mon Nov 7 17:13:30 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 951c9e62ff5c21dfdbb18d10c4be80811f3bee28
Author: Chris Lamb <lamby at debian.org>
Date:   Mon Nov 7 13:24:04 2016 +0000

    reproducible Debian: might as well show the exception
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_create_meta_pkg_sets.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index c8fdeba..59d10d4 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -40,8 +40,8 @@ with open(sys.argv[1]) as fd:
 			if not pkgname in seen:
 				print(pkgname, end='|')
 				seen[pkgname] = True
-	except:
-		print("Warning: something went wrong while parsing the build manifest as YAML file.")
+	except Exception as exc:
+		print("Warning: something went wrong while parsing the build manifest as YAML file: {}".format(exc))
 
 EOF
 )

-- 
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