From: <buc...@us...> - 2008-11-13 19:40:29
|
Revision: 91 http://devmon.svn.sourceforge.net/devmon/?rev=91&view=rev Author: buchanmilne Date: 2008-11-13 19:40:22 +0000 (Thu, 13 Nov 2008) Log Message: ----------- Fix multiple custom threshholds and exceptions on the same test Modified Paths: -------------- trunk/modules/dm_config.pm Modified: trunk/modules/dm_config.pm =================================================================== --- trunk/modules/dm_config.pm 2008-11-07 00:25:45 UTC (rev 90) +++ trunk/modules/dm_config.pm 2008-11-13 19:40:22 UTC (rev 91) @@ -1820,8 +1820,9 @@ my $sc = $thr_sc{$color}; $threshes .= ";$sc:$val"; } + $threshes .= ','; } - $threshes .= ','; + $threshes .= ',' if ($threshes !~ /,$/); } $threshes =~ s/,$//; @@ -1835,8 +1836,9 @@ my $sc = $exc_sc{$type}; $excepts .= ";$sc:$val"; } + $excepts .= ','; } - $excepts .= ','; + $excepts .= ',' if ($excepts !~ /,$/); } $excepts =~ s/,$//; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |