Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29084
Modified Files:
default.cfg
Log Message:
Remove use of string module
Index: default.cfg
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/default.cfg,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** default.cfg 13 Jun 2008 20:47:56 -0000 1.8
--- default.cfg 11 Aug 2008 00:49:01 -0000 1.9
***************
*** 148,153 ****
# Now set the insert point to the middle of the banner.
! import string
! line, col = map(int, string.split(pos, "."))
text.mark_set("insert", "%d.1 lineend" % (line+2, ) )
--- 148,152 ----
# Now set the insert point to the middle of the banner.
! line, col = [int(s) for s in pos.split(".")]
text.mark_set("insert", "%d.1 lineend" % (line+2, ) )
|