Update of /cvsroot/pywin32/pywin32/com/win32comext/axscript/server
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4132/com/win32comext/axscript/server
Modified Files:
axsite.py
Log Message:
move to dictionary iterators where possible
Index: axsite.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axscript/server/axsite.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** axsite.py 4 Dec 2008 04:22:31 -0000 1.5
--- axsite.py 4 Dec 2008 07:23:46 -0000 1.6
***************
*** 64,68 ****
self.lcid = lcid
self.objModel = { }
! for name, object in objModel.items():
# Gregs code did string.lower this - I think that is callers job if he wants!
self.objModel[name] = object
--- 64,68 ----
self.lcid = lcid
self.objModel = { }
! for name, object in objModel.iteritems():
# Gregs code did string.lower this - I think that is callers job if he wants!
self.objModel[name] = object
|