[Spambayes-checkins] spambayes/utilities which_database.py,1.4,1.5

Skip Montanaro montanaro at users.sourceforge.net
Tue Oct 14 15:10:07 EDT 2003


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

Modified Files:
	which_database.py 
Log Message:
need to call os.path.expanduser() since paths like ~/hammie.db are valid in
the options file


Index: which_database.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/utilities/which_database.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** which_database.py	26 Sep 2003 04:23:49 -0000	1.4
--- which_database.py	14 Oct 2003 19:10:04 -0000	1.5
***************
*** 73,77 ****
      print
  
!     hammie = options["Storage", "persistent_storage_file"]
      use_dbm = options["Storage", "persistent_use_database"]
      if not use_dbm:
--- 73,77 ----
      print
  
!     hammie = os.path.expanduser(options["Storage", "persistent_storage_file"])
      use_dbm = options["Storage", "persistent_use_database"]
      if not use_dbm:





More information about the Spambayes-checkins mailing list