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

Tony Meyer anadelonbrin at users.sourceforge.net
Fri Oct 15 08:05:36 CEST 2004


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

Modified Files:
      Tag: release_1_0-branch
	Dibbler.py 
Log Message:
Backport fix to work with Python 2.4.

Index: Dibbler.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Dibbler.py,v
retrieving revision 1.13
retrieving revision 1.13.4.1
diff -C2 -d -r1.13 -r1.13.4.1
*** Dibbler.py	12 Jan 2004 14:13:01 -0000	1.13
--- Dibbler.py	15 Oct 2004 06:05:33 -0000	1.13.4.1
***************
*** 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