[Spambayes-checkins] spambayes/scripts sb_server.py,1.4,1.5
Tony Meyer
anadelonbrin at users.sourceforge.net
Tue Sep 16 20:03:56 EDT 2003
Update of /cvsroot/spambayes/spambayes/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv32667/scripts
Modified Files:
sb_server.py
Log Message:
Fix [ spambayes-Bugs-806632 ] sb_server failure when saving config
Index: sb_server.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/scripts/sb_server.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sb_server.py 13 Sep 2003 05:10:49 -0000 1.4
--- sb_server.py 17 Sep 2003 00:03:54 -0000 1.5
***************
*** 722,729 ****
del proxyListeners[:]
! # Close the database; we should anyway, and gdbm complains if we
! # try to reopen it without closing it first.
! state.bayes.store()
! state.bayes.close()
state = State()
--- 722,730 ----
del proxyListeners[:]
! # Close the database (if there is one); we should anyway, and gdbm
! # complains if we try to reopen it without closing it first.
! if hasattr(state, "bayes"):
! state.bayes.store()
! state.bayes.close()
state = State()
More information about the Spambayes-checkins
mailing list