[Python-checkins] python/dist/src/Mac/Tools/IDE PyBrowser.py,1.20,1.21

jvr@users.sourceforge.net jvr@users.sourceforge.net
Fri, 13 Dec 2002 07:14:27 -0800


Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory sc8-pr-cvs1:/tmp/cvs-serv551

Modified Files:
	PyBrowser.py 
Log Message:
another wrong assumption fixed

Index: PyBrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PyBrowser.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** PyBrowser.py	13 Dec 2002 11:07:20 -0000	1.20
--- PyBrowser.py	13 Dec 2002 15:14:22 -0000	1.21
***************
*** 586,592 ****
  
  def pack_items(items, indent = 0):
! 	items = map(lambda (k, v), type = type, simp = SIMPLE_TYPES, indent = indent: 
! 				(k, v, not type(v) in simp, indent), 
! 			items)
  	return tuple_caselesssort(items)
  
--- 586,591 ----
  
  def pack_items(items, indent = 0):
! 	items = [(k, v, not isinstance(v, SIMPLE_TYPES), indent)
! 	         for k, v in items]
  	return tuple_caselesssort(items)