[Spambayes-checkins] spambayes/spambayes hammiebulk.py,1.7,1.8

Tony Meyer anadelonbrin at users.sourceforge.net
Tue Jul 8 18:53:40 EDT 2003


Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv27979/spambayes

Modified Files:
	hammiebulk.py 
Log Message:
Better fix, thanks to Helge Avlesen. (was not expanding the ~, and
should really us os.path.join so that this works on other platforms).

Index: hammiebulk.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/hammiebulk.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** hammiebulk.py	8 Jul 2003 00:08:53 -0000	1.7
--- hammiebulk.py	9 Jul 2003 00:53:38 -0000	1.8
***************
*** 66,70 ****
  # persistent_storage_file
  if DEFAULTDB == options.default("Storage", "persistent_storage_file"):
!     DEFAULTDB = "~/.hammiedb"
  
  # Probability at which a message is considered spam
--- 66,70 ----
  # persistent_storage_file
  if DEFAULTDB == options.default("Storage", "persistent_storage_file"):
!     DEFAULTDB = os.path.expanduser(os.path.join("~", ".hammiedb"))
  
  # Probability at which a message is considered spam





More information about the Spambayes-checkins mailing list