[Python-checkins] CVS: python/dist/src/Lib asyncore.py,1.17,1.18

Martin v. L?wis loewis@users.sourceforge.net
Tue, 11 Sep 2001 08:11:29 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv13508

Modified Files:
	asyncore.py 
Log Message:
Patch #460554: Properly test for tuples.


Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** asyncore.py	2001/08/20 21:48:00	1.17
--- asyncore.py	2001/09/11 15:11:27	1.18
***************
*** 209,213 ****
                  status.append ('connected')
              if self.addr:
!                 if self.addr == types.TupleType:
                      status.append ('%s:%d' % self.addr)
                  else:
--- 209,213 ----
                  status.append ('connected')
              if self.addr:
!                 if type(self.addr) == types.TupleType:
                      status.append ('%s:%d' % self.addr)
                  else: