[Spambayes-checkins] spambayes/spambayes Dibbler.py,1.13,1.14

Tony Meyer anadelonbrin at users.sourceforge.net
Mon Jul 19 04:10:14 CEST 2004


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

Modified Files:
	Dibbler.py 
Log Message:
Apply Richie's test for [ 990700 ] Changes to asyncore in Python 2.4 break ServerLineReader
which seems to work for me w/ Python 2.4a1

Index: Dibbler.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Dibbler.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Dibbler.py	12 Jan 2004 14:13:01 -0000	1.13
--- Dibbler.py	19 Jul 2004 02:10:12 -0000	1.14
***************
*** 189,193 ****
          """See `asynchat.async_chat`."""
          asynchat.async_chat.__init__(self, conn)
!         self._map = map
          self._closed = False
  
--- 189,193 ----
          """See `asynchat.async_chat`."""
          asynchat.async_chat.__init__(self, conn)
!         self.__map = map
          self._closed = False
  
***************
*** 216,220 ****
          """Remove this object from the correct socket map."""
          self._closed = True
!         self.del_channel(self._map)
          self.socket.close()
  
--- 216,220 ----
          """Remove this object from the correct socket map."""
          self._closed = True
!         self.del_channel(self.__map)
          self.socket.close()
  



More information about the Spambayes-checkins mailing list