Update of /cvsroot/spambayes/spambayes/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18027
Modified Files:
sb_imapfilter.py
Log Message:
BadIMAPResponseError has two arguments: command and response.
Index: sb_imapfilter.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/scripts/sb_imapfilter.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** sb_imapfilter.py 8 Jul 2005 03:24:40 -0000 1.63
--- sb_imapfilter.py 27 Nov 2005 12:40:07 -0000 1.64
***************
*** 313,318 ****
# passed, we get a traceback, not just an 'invalid folder'
# error, so raise our own error.
! raise BadIMAPResponseError("Cannot have empty string as " \
! "folder name in select", "")
# We *always* use SELECT and not EXAMINE, because this
--- 313,319 ----
# passed, we get a traceback, not just an 'invalid folder'
# error, so raise our own error.
! raise BadIMAPResponseError("select",
! "Cannot have empty string as "
! "folder name in select")
# We *always* use SELECT and not EXAMINE, because this
***************
*** 719,723 ****
break
else:
! raise BadIMAPResponseError("Cannot find saved message", "")
# We need to update the UID, as it will have changed.
--- 720,724 ----
break
else:
! raise BadIMAPResponseError("recent", "Cannot find saved message")
# We need to update the UID, as it will have changed.
_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins