Update of /cvsroot/pywin32/pywin32/com/win32com/client
In directory sc8-pr-cvs1:/tmp/cvs-serv14261
Modified Files:
genpy.py
Log Message:
Always import win32com.client.util
Index: genpy.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/genpy.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** genpy.py 23 Oct 2003 22:51:08 -0000 1.35
--- genpy.py 28 Oct 2003 21:26:45 -0000 1.36
***************
*** 24,28 ****
error = "makepy.error"
! makepy_version = "0.4.7" # Written to generated file.
GEN_FULL="full"
--- 24,28 ----
error = "makepy.error"
! makepy_version = "0.4.8" # Written to generated file.
GEN_FULL="full"
***************
*** 497,501 ****
print '\t\t"Allow this class to be accessed as a collection"'
print "\t\tif not self.__dict__.has_key('_enum_'):"
- print "\t\t\timport win32com.client.util"
print "\t\t\tself.__dict__['_enum_'] = self._NewEnum()"
print "\t\treturn self._enum_.__getitem__(index)"
--- 497,500 ----
***************
*** 778,781 ****
--- 777,781 ----
print>> self.file
print >> self.file, 'import win32com.client.CLSIDToClass, pythoncom'
+ print >> self.file, 'import win32com.client.util'
print >> self.file, 'from pywintypes import IID'
print >> self.file, 'from win32com.client import Dispatch'
|