You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/09/15 06:28:25 UTC

svn commit: rev 46080 - spamassassin/trunk/lib/Mail/SpamAssassin

Author: felicity
Date: Tue Sep 14 21:28:24 2004
New Revision: 46080

Modified:
   spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
Log:
prepping some work with the habeas folks for different levels of classification

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm	(original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm	Tue Sep 14 21:28:24 2004
@@ -2112,7 +2112,14 @@
     $text =~ s/\s+/ /g;
     $text =~ s/^\s|\s$//g;
     $text =~ s@/?>@/>@;
-    $self->{habeas_swe} = (sha1_hex($text) eq '76c65d9eb65e572166a08b50fd197b29af09d43a');
+    my $sha1 = sha1_hex($text);
+
+    if ($sha1 eq '76c65d9eb65e572166a08b50fd197b29af09d43a') {
+      $self->{habeas_swe} = 'gold';
+    }
+#    elsif ($sha1 eq 'f93247e6c1d457e97d8844ba359e6ea7cd9e745d') {
+#      $self->{habeas_swe} = 'silver';
+#    }
   }
 
   return $self->{habeas_swe};