From b435f7b34188b2f61fe8da34277233502b9d03ee Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Thu, 27 Sep 2012 16:52:00 +0000 Subject: [PATCH] Make the dump of dependencies more verbose at parse time --- tools/sort_deps | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/sort_deps b/tools/sort_deps index e011dbec..4eb911bd 100755 --- a/tools/sort_deps +++ b/tools/sort_deps @@ -426,13 +426,13 @@ sub read_depends { if ($or eq '|') { my $elt = read_ordepends ($i, $lines); foreach my $t (@$elt) { - msg(1, " " . dump_depend($t) . " (OR)\n"); + msg(1, " $out_type: " . dump_depend($t) . " (OR)\n"); } push @{$packages{$pkg}{$out_type}}, $elt; } elsif ($lines->[$$i] =~ m/^\s\s$type: <([^>]+)>/) { my $elt = read_virtualdepends ($i, $lines); foreach my $t (@$elt) { - msg(1, " " . dump_depend($t) . " \n"); + msg(1, " $out_type: " . dump_depend($t) . " \n"); } push @{$packages{$pkg}{$out_type}}, $elt; } elsif ($lines->[$$i] =~ m/^\s\s$type: (\S+)( \((\S+) (\S+)\))*/) { @@ -445,7 +445,7 @@ sub read_depends { $elt{"CmpOp"} = ""; $elt{"Version"} = ""; } - msg(1, " " . dump_depend(\%elt) . "\n"); + msg(1, " $out_type: " . dump_depend(\%elt) . "\n"); push @{$packages{$pkg}{$out_type}}, \%elt; $$i++; @@ -462,7 +462,7 @@ sub read_depends { $elt1{"CmpOp"} = ""; $elt1{"Version"} = ""; } - msg(1, " " . dump_depend(\%elt1) . "\n"); + msg(1, " $out_type: " . dump_depend(\%elt1) . "\n"); push @{$packages{$pkg}{$out_type}}, \%elt1; $$i++; }