diff roundup/templatebuilder.py @ 602:c242455d9b46 config-0-4-0-branch

Brought the config branch up to date with HEAD
author Richard Jones <richard@users.sourceforge.net>
date Wed, 06 Feb 2002 04:05:55 +0000
parents bdc2ea127ae9
children
line wrap: on
line diff
--- a/roundup/templatebuilder.py	Wed Feb 06 03:47:17 2002 +0000
+++ b/roundup/templatebuilder.py	Wed Feb 06 04:05:55 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: templatebuilder.py,v 1.13 2001-11-22 15:46:42 jhermann Exp $
+# $Id: templatebuilder.py,v 1.13.2.1 2002-02-06 04:05:54 richard Exp $
 import errno, re
 
 __doc__ = """
@@ -24,7 +24,7 @@
 
 preamble = """ 
 # Do Not Edit (Unless You Want To)
-# This file automagically generated by roundup.htmldata.makeHtmlBase
+# This file automagically generated by roundup.templatebuilder.makeHtmlBase
 # 
 """
 
@@ -41,7 +41,7 @@
     for file in filelist:
         # skip the backup files created by richard's vim
         if file[-1] == '~': continue
-        mangled_name = os.path.basename(re.sub(r'\.', 'DOT', file))
+        mangled_name = os.path.basename(file).replace('.','DOT')
         fd.write('%s = """'%mangled_name)
         fd.write(re.sub(r'\$((Id|File|Log).*?)\$', r'dollar\1dollar',
             open(file).read(), re.I))
@@ -89,6 +89,12 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.14  2002/02/05 09:59:05  grubert
+#  . makeHtmlBase: re.sub under python 2.2 did not replace '.', string.replace does it.
+#
+# Revision 1.13  2001/11/22 15:46:42  jhermann
+# Added module docstrings to all modules.
+#
 # Revision 1.12  2001/11/14 21:35:21  richard
 #  . users may attach files to issues (and support in ext) through the web now
 #

Roundup Issue Tracker: http://roundup-tracker.org/