[Spambayes-checkins] spambayes/spambayes Options.py,1.76,1.77
Tony Meyer
anadelonbrin at users.sourceforge.net
Thu Sep 18 00:12:53 EDT 2003
- Previous message: [Spambayes-checkins] spambayes/spambayes ImapUI.py, 1.17,
1.18 Options.py, 1.75, 1.76 ProxyUI.py, 1.21, 1.22 Version.py,
1.22, 1.23 hammie.py, 1.10, 1.11 message.py, 1.36, 1.37
- Next message: [Spambayes-checkins] spambayes/windows pop3proxy_service.py, 1.13,
1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv24992/spambayes
Modified Files:
Options.py
Log Message:
Store the user's caches and messageinfo.db file in the app data folder as well (by default),
if we have everything else there.
Index: Options.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Options.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -d -r1.76 -r1.77
*** Options.py 18 Sep 2003 03:58:59 -0000 1.76
--- Options.py 18 Sep 2003 04:12:51 -0000 1.77
***************
*** 973,982 ****
else:
# If the file doesn't exist, then let's get the user to
! # store their databases here as well, by default, and
! # save the file.
db_name = os.path.join(windowsUserDirectory,
! "statistics_database.db").\
! encode("mbcs")
! options["Storage", "persistent_storage_file"] = db_name
options.update_file(optionsPathname)
except os.error:
--- 973,995 ----
else:
# If the file doesn't exist, then let's get the user to
! # store their databases and caches here as well, by
! # default, and save the file.
db_name = os.path.join(windowsUserDirectory,
! "statistics_database.db")
! mi_db = os.path.join(windowsUserDirectory,
! "message_info_database.db")
! h_cache = os.path.join(windowsUserDirectory,
! "ham_cache").encode("mbcs")
! u_cache = os.path.join(windowsUserDirectory,
! "unknown_cache").encode("mbcs")
! s_cache = os.path.join(windowsUserDirectory,
! "spam_cache").encode("mbcs")
! options["Storage", "spam_cache"] = s_cache
! options["Storage", "ham_cache"] = h_cache
! options["Storage", "unknown_cache"] = u_cache
! options["Storage", "persistent_storage_file"] = \
! db_name.encode("mbcs")
! options["Storage", "messageinfo_storage_file"] = \
! mi_db.encode("mbcs")
options.update_file(optionsPathname)
except os.error:
- Previous message: [Spambayes-checkins] spambayes/spambayes ImapUI.py, 1.17,
1.18 Options.py, 1.75, 1.76 ProxyUI.py, 1.21, 1.22 Version.py,
1.22, 1.23 hammie.py, 1.10, 1.11 message.py, 1.36, 1.37
- Next message: [Spambayes-checkins] spambayes/windows pop3proxy_service.py, 1.13,
1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Spambayes-checkins
mailing list