Update of /cvsroot/spambayes/spambayes/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19054/scripts

Modified Files:
        sb_imapfilter.py 
Log Message:
After closing a folder, there is no current folder, so set current_folder
to None.  When the following select fails, no attempt will be
now made to close the last folder again, which would result in
an uncaught exception from the call to self.close.

Index: sb_imapfilter.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/scripts/sb_imapfilter.py,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** sb_imapfilter.py    18 May 2005 14:10:30 -0000      1.60
--- sb_imapfilter.py    30 May 2005 07:02:11 -0000      1.61
***************
*** 305,308 ****
--- 305,309 ----
                  # anything with).
                  self.close()
+                 self.current_folder = None
  
              if folder == "":

_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to