[Spambayes-checkins] spambayes/spambayes Options.py,1.12,1.13
Skip Montanaro
montanaro at users.sourceforge.net
Thu Feb 13 18:29:06 EST 2003
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv27765
Modified Files:
Options.py
Log Message:
split BAYESCUSTOMIZE using os.pathsep - note that this changes behavior - no
more space-separated file lists!
Index: Options.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Options.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Options.py 10 Feb 2003 15:41:23 -0000 1.12
--- Options.py 14 Feb 2003 02:29:03 -0000 1.13
***************
*** 565,570 ****
alternate = os.getenv('BAYESCUSTOMIZE')
if alternate:
! r = re.compile(r'(.*?\.ini) *',re.IGNORECASE)
! filenames = r.findall(alternate)
options.mergefiles(filenames)
optionsPathname = os.path.abspath(filenames[-1])
--- 565,569 ----
alternate = os.getenv('BAYESCUSTOMIZE')
if alternate:
! filenames = alternate.split(os.pathsep)
options.mergefiles(filenames)
optionsPathname = os.path.abspath(filenames[-1])
More information about the Spambayes-checkins
mailing list