[Spambayes-checkins] spambayes pop3proxy.py,1.21,1.22

Tim Stone timstone4@users.sourceforge.net
Tue Nov 26 03:32:13 2002


Update of /cvsroot/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv22470

Modified Files:
	pop3proxy.py 
Log Message:
Got rid of an infernal 'Bad file descriptor' asyncore error message.
Forgive me, Richie.

Index: pop3proxy.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/pop3proxy.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** pop3proxy.py	25 Nov 2002 20:49:19 -0000	1.21
--- pop3proxy.py	26 Nov 2002 03:32:11 -0000	1.22
***************
*** 176,180 ****
          """Let SystemExit cause an exit."""
          type, v, t = sys.exc_info()
!         if type == SystemExit:
              raise
          else:
--- 176,182 ----
          """Let SystemExit cause an exit."""
          type, v, t = sys.exc_info()
!         if type == socket.error and v[0] == 9:  # Why?  Who knows...
!             pass
!         elif type == SystemExit:
              raise
          else:





More information about the Spambayes-checkins mailing list