[Spambayes-checkins] spambayes/spambayes UserInterface.py, 1.60, 1.61
Tony Meyer
anadelonbrin at users.sourceforge.net
Mon Nov 28 11:53:20 CET 2005
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15790/spambayes
Modified Files:
UserInterface.py
Log Message:
Have subclasses close the databases.
Index: UserInterface.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/UserInterface.py,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** UserInterface.py 28 Nov 2005 02:10:14 -0000 1.60
--- UserInterface.py 28 Nov 2005 10:53:12 -0000 1.61
***************
*** 856,860 ****
new_name = options["Storage", "persistent_storage_file"]
new_type = options["Storage", "persistent_use_database"]
! self.state.close()
try:
os.remove(new_name + ".tmp")
--- 856,860 ----
new_name = options["Storage", "persistent_storage_file"]
new_type = options["Storage", "persistent_use_database"]
! self.close_database()
try:
os.remove(new_name + ".tmp")
More information about the Spambayes-checkins
mailing list