Update of /cvsroot/pywin32/pywin32/win32/Lib
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18082/win32/Lib
Modified Files:
win32rcparser.py
Log Message:
more moderizations merged from py3k work
Index: win32rcparser.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32rcparser.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** win32rcparser.py 4 Jul 2008 01:55:13 -0000 1.5
--- win32rcparser.py 27 Nov 2008 09:33:22 -0000 1.6
***************
*** 581,595 ****
print "Dumping all resources in '%s'" % filename
resources = Parse(filename)
! for id, ddef in resources.dialogs.items():
print "Dialog %s (%d controls)" % (id, len(ddef))
pprint.pprint(ddef)
print
! for id, sdef in resources.stringTable.items():
print "String %s=%r" % (id, sdef.value)
print
! for id, sdef in resources.bitmaps.items():
print "Bitmap %s=%r" % (id, sdef)
print
! for id, sdef in resources.icons.items():
print "Icon %s=%r" % (id, sdef)
print
--- 581,595 ----
print "Dumping all resources in '%s'" % filename
resources = Parse(filename)
! for id, ddef in resources.dialogs.iteritems():
print "Dialog %s (%d controls)" % (id, len(ddef))
pprint.pprint(ddef)
print
! for id, sdef in resources.stringTable.iteritems():
print "String %s=%r" % (id, sdef.value)
print
! for id, sdef in resources.bitmaps.iteritems():
print "Bitmap %s=%r" % (id, sdef)
print
! for id, sdef in resources.icons.iteritems():
print "Icon %s=%r" % (id, sdef)
print
|