[Python-checkins] python/dist/src/Doc/tools mkhowto,1.40,1.41

theller at users.sourceforge.net theller at users.sourceforge.net
Sat Sep 27 15:35:40 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv5830

Modified Files:
	mkhowto 
Log Message:
re.sub expands escape sequences in it's second argument.

Will backport to 2.3 myself.


Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** mkhowto	27 Sep 2003 07:05:12 -0000	1.40
--- mkhowto	27 Sep 2003 19:35:37 -0000	1.41
***************
*** 209,213 ****
              elif opt == "--dir":
                  if os.sep == "\\":
!                     arg = re.sub("/", "\\", arg)
                  self.builddir = os.path.expanduser(arg)
              elif opt == "--paper":
--- 209,213 ----
              elif opt == "--dir":
                  if os.sep == "\\":
!                     arg = re.sub("/", "\\\\", arg)
                  self.builddir = os.path.expanduser(arg)
              elif opt == "--paper":





More information about the Python-checkins mailing list