Author: joeyh Date: 2005-09-01 19:37:48 +0000 (Thu, 01 Sep 2005) New Revision: 1768 Modified: bin/checklist Log: fix a warning on undefined item Modified: bin/checklist ==================================================================--- bin/checklist 2005-09-01 19:34:16 UTC (rev 1767) +++ bin/checklist 2005-09-01 19:37:48 UTC (rev 1768) @@ -79,7 +79,8 @@ if ($html) { $condition=~s{bug #(\d+)}{<a href="http://bugs.debian.org/$1">bug #$1</a>}g; $condition=~s{unfixed}{<b>unfixed</b>}g; - $item=~s#((?:CAN|CVE)-\d+-\d+)#<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=$1">$1</a>#g; + $item=~s#((?:CAN|CVE)-\d+-\d+)#<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=$1">$1</a>#g + if defined $item; } push @{$data{$package}{$condition}}, {item => $item, urgency => $urgency};