You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/01/10 15:10:21 UTC

svn commit: r494820 - /spamassassin/trunk/masses/logs-to-c

Author: jm
Date: Wed Jan 10 06:10:21 2007
New Revision: 494820

URL: http://svn.apache.org/viewvc?view=rev&rev=494820
Log:
ignore test rules in perceptron runs

Modified:
    spamassassin/trunk/masses/logs-to-c

Modified: spamassassin/trunk/masses/logs-to-c
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/logs-to-c?view=diff&rev=494820&r1=494819&r2=494820
==============================================================================
--- spamassassin/trunk/masses/logs-to-c (original)
+++ spamassassin/trunk/masses/logs-to-c Wed Jan 10 06:10:21 2007
@@ -382,6 +382,12 @@
       $mutable_tests{$t} = 0;
       next;
     }
+    if ($t =~ /^T_/) {
+      # warn "ignoring '$t': is T_ test rule\n";    # no need to warn
+      $ignored_rule{$t} = 1;
+      $mutable_tests{$t} = 0;
+      next;
+    }
     if (($range_lo{$t} == $range_hi{$t}) && (! $range_lo{$t})) {
       warn "ignoring '$t': score and range == 0\n";
       $ignored_rule{$t} = 1;