You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by da...@apache.org on 2017/05/29 01:50:28 UTC

svn commit: r1796565 - /spamassassin/trunk/masses/rule-update-score-gen/extract-new-scores

Author: davej
Date: Mon May 29 01:50:28 2017
New Revision: 1796565

URL: http://svn.apache.org/viewvc?rev=1796565&view=rev
Log:
Fixed bug in script not reading config file EPOCHS= properly.

Modified:
    spamassassin/trunk/masses/rule-update-score-gen/extract-new-scores

Modified: spamassassin/trunk/masses/rule-update-score-gen/extract-new-scores
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-update-score-gen/extract-new-scores?rev=1796565&r1=1796564&r2=1796565&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-update-score-gen/extract-new-scores (original)
+++ spamassassin/trunk/masses/rule-update-score-gen/extract-new-scores Mon May 29 01:50:28 2017
@@ -38,7 +38,7 @@ while (<CONFIG>) {
   $scoreset = $1 if /^\s*SCORESET=(\d)\s*$/;
   $ham_pref = $1 if /^\s*HAM_PREFERENCE=([\d.-]+)/;
   $threshold = $1 if /^\s*THRESHOLD=([\d.-]+)/;
-  $epochs = $1 if /^\s*EPOCHS=(\d)\s*$/;
+  $epochs = $1 if /^\s*EPOCHS=(\d+)\s*$/;
   $note = "-$1" if /^\s*NOTE=(.+)$/;