|
From: <ssc...@us...> - 2003-07-06 07:59:34
|
Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv2559
Modified Files:
Bayes.pm
Log Message:
removed stripping of path in classify_and_modify by retrieving filename without path (again)
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.160
retrieving revision 1.161
diff -C2 -d -r1.160 -r1.161
*** Bayes.pm 6 Jul 2003 07:49:19 -0000 1.160
--- Bayes.pm 6 Jul 2003 07:59:30 -0000 1.161
***************
*** 983,986 ****
--- 983,987 ----
my $temp_file = $self->history_filename($dcount,$mcount, ".msg",1);
+ my $nopath_temp_file = $self->history_filename($dcount,$mcount,".msg",0);
# Get the class-file info without the path, since we'd just need to strip it
***************
*** 1100,1106 ****
# Add the XPL header
- my $nopath_temp_file = $temp_file;
- $nopath_temp_file =~ s/.*\/([^\/]+)/$1/;
-
my $xpl = '';
--- 1101,1104 ----
|