[devscripts] 01/02: grep-excuses: Dump interesting YAML doc with --debug

James McCoy jamessan at debian.org
Thu Nov 16 13:47:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit fbe81ee9cb3ac681b1dcfea01e71a5b77fa3f7ff
Author: James McCoy <jamessan at debian.org>
Date:   Thu Nov 16 08:31:31 2017 -0500

    grep-excuses: Dump interesting YAML doc with --debug
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 scripts/grep-excuses.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/grep-excuses.pl b/scripts/grep-excuses.pl
index 3446a72..f460dd3 100755
--- a/scripts/grep-excuses.pl
+++ b/scripts/grep-excuses.pl
@@ -21,6 +21,7 @@
 use 5.006;
 use strict;
 use warnings;
+use Data::Dumper;
 use File::Basename;
 use File::HomeDir;
 
@@ -319,6 +320,7 @@ for my $source (@{$excuses->{sources}})
 	|| (exists $source->{maintainer}
 	    && $source->{maintainer} =~ m/\b\Q$string\E\b/))
     {
+	print DEBUG Dumper($source);
 	printf("%s (%s to %s)\n", $source->{'item-name'},
 	    $source->{'old-version'}, $source->{'new-version'});
 	if (exists $source->{maintainer})

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list