Update of /cvsroot/pywin32/pywin32/com/win32com/makegw
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22552
Modified Files:
makegw.py makegwparse.py
Log Message:
remove use of string module
Index: makegw.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/makegw/makegw.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** makegw.py 25 Apr 2007 03:32:05 -0000 1.9
--- makegw.py 4 Dec 2008 03:16:49 -0000 1.10
***************
*** 48,52 ****
import re
- import string
import makegwparse
--- 48,51 ----
***************
*** 353,361 ****
if method.args:
for arg in method.args[:-1]:
! inoutstr = string.join(arg.inout, '][')
f.write("\t\t/* [%s] */ %s,\n" % (inoutstr, arg.GetRawDeclaration()))
arg = method.args[-1]
! inoutstr = string.join(arg.inout, '][')
f.write("\t\t/* [%s] */ %s)\n" % (inoutstr, arg.GetRawDeclaration()))
else:
--- 352,360 ----
if method.args:
for arg in method.args[:-1]:
! inoutstr = ']['.join(arg.inout)
f.write("\t\t/* [%s] */ %s,\n" % (inoutstr, arg.GetRawDeclaration()))
arg = method.args[-1]
! inoutstr = ']['.join(arg.inout)
f.write("\t\t/* [%s] */ %s)\n" % (inoutstr, arg.GetRawDeclaration()))
else:
Index: makegwparse.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/makegw/makegwparse.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** makegwparse.py 27 Nov 2008 09:33:22 -0000 1.15
--- makegwparse.py 4 Dec 2008 03:16:49 -0000 1.16
***************
*** 14,18 ****
import re
import traceback
- import string
class error_not_found(Exception):
--- 14,17 ----
|