Skip to content

Commit

Permalink
show something meaningful for deprecation notices without eligible or…
Browse files Browse the repository at this point in the history
… ticket fields
  • Loading branch information
NotFound committed Feb 1, 2011
1 parent 48c1717 commit efd80f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/dev/show_deprecated.pl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ =head1 PREREQUISITE
my $eligible = $e->{eligible};
my $title = $e->{name};
next if any { $_ eq 'old' } @$tags;

$eligible = "no"
unless defined $eligible && $eligible ne '';
$ticket = "**************** no ticket ****************"
unless defined $ticket && $ticket ne '';

# This format is ugly, but is functional for now
print "$ticket\t$eligible\t$title\n" if any { $_ eq 'deprecated' } @$tags;
}
Expand Down

0 comments on commit efd80f0

Please sign in to comment.