[pywin32-checkins] pywin32/com/win32comext/axscript/client framework.py, 1.27, 1.28
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-10-15 05:31:36
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/axscript/client In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20869/com/win32comext/axscript/client Modified Files: framework.py Log Message: resolve issue causing ASP pages to fail when reloaded Index: framework.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axscript/client/framework.py,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** framework.py 27 Nov 2008 11:17:32 -0000 1.27 --- framework.py 15 Oct 2009 05:31:26 -0000 1.28 *************** *** 747,752 **** def ResetNamedItems(self): # Due to the way we work, we re-create persistent ones. self.subItems = {} ! for name, item in self.subItems.iteritems(): item.Close() if item.flags & axscript.SCRIPTITEM_ISPERSISTENT: --- 747,753 ---- def ResetNamedItems(self): # Due to the way we work, we re-create persistent ones. + existing = self.subItems self.subItems = {} ! for name, item in existing.iteritems(): item.Close() if item.flags & axscript.SCRIPTITEM_ISPERSISTENT: |