[pywin32-checkins] pywin32/win32/Lib win32verstamp.py,1.4,1.5
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-11 06:59:39
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1070/win32/Lib Modified Files: win32verstamp.py Log Message: Move to iterators Index: win32verstamp.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32verstamp.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** win32verstamp.py 6 Dec 2008 00:42:39 -0000 1.4 --- win32verstamp.py 11 Dec 2008 06:59:33 -0000 1.5 *************** *** 72,76 **** result = struct.pack('hh', 0, 1) # wValueLength, wType result = result + key ! for k, v in data.items(): result = result + String(k, v) result = pad32(result) --- 72,76 ---- result = struct.pack('hh', 0, 1) # wValueLength, wType result = result + key ! for k, v in data.iteritems(): result = result + String(k, v) result = pad32(result) *************** *** 94,98 **** result = result + nullterm('VarFileInfo') result = pad32(result) ! for k, v in data.items(): result = result + Var(k, v) return addlen(result) --- 94,98 ---- result = result + nullterm('VarFileInfo') result = pad32(result) ! for k, v in data.iteritems(): result = result + Var(k, v) return addlen(result) |