From: Steinar H. Gunderson Date: Wed, 7 Mar 2007 16:20:08 +0000 (+0000) Subject: get_status now returns a scalar and not a hash, so adjust the surrounding X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=commitdiff_plain;h=75cfa9bd35db9e6cd57577d9b3000a073a186164;ds=sidebyside get_status now returns a scalar and not a hash, so adjust the surrounding code. --- diff --git a/scanlib.pm b/scanlib.pm index 1550007..3fc237e 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -225,11 +225,11 @@ sub scanspooldir() { $status_experimental = get_status($f, $bug, 'experimental') if ($experimental_tag); $relinfo = ""; - $relinfo .= (($oldstable_tag && $status_oldstable->{'pending'} eq 'pending') ? "O" : ""); - $relinfo .= (($stable_tag && $status_stable->{'pending'} eq 'pending') ? "S" : ""); - $relinfo .= (($testing_tag && $status_testing->{'pending'} eq 'pending') ? "T" : ""); - $relinfo .= (($unstable_tag && $status_unstable->{'pending'} eq 'pending') ? "U" : ""); - $relinfo .= (($experimental_tag && $status_experimental->{'pending'} eq 'pending') ? "E" : ""); + $relinfo .= (($oldstable_tag && $status_oldstable eq 'pending') ? "O" : ""); + $relinfo .= (($stable_tag && $status_stable eq 'pending') ? "S" : ""); + $relinfo .= (($testing_tag && $status_testing eq 'pending') ? "T" : ""); + $relinfo .= (($unstable_tag && $status_unstable eq 'pending') ? "U" : ""); + $relinfo .= (($experimental_tag && $status_experimental eq 'pending') ? "E" : ""); next if $relinfo eq '' and not $premature{$f}; $premature{$f}++ if $relinfo eq '';