1515# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717#
18- # $Id: builder.py,v 1.2 2002-09-05 23:39:13 richard Exp $
18+ # $Id: builder.py,v 1.3 2002-09-13 04:27:04 richard Exp $
1919import os , sys , glob , errno , re
2020
2121__doc__ = """
@@ -73,8 +73,6 @@ def installHtmlBase(template, installDir):
7373# print "installing from", htmlbase.__file__, "into", installDir
7474 modulecontents = dir (htmlbase )
7575 for mangledfile in modulecontents :
76- if mangledfile [0 ] == "_" :
77- continue
7876 filename = re .sub ('DOT' , '.' , mangledfile )
7977 outfile = os .path .join (installDir , filename )
8078 outfd = open (outfile , 'w' )
@@ -91,6 +89,12 @@ def installHtmlBase(template, installDir):
9189
9290#
9391# $Log: not supported by cvs2svn $
92+ # Revision 1.2 2002/09/05 23:39:13 richard
93+ # Fixed instance installation ... moved the htmlbase module into templates
94+ # and call it <template>_htmlbase.py ... no more try/except in instance __init__!
95+ # Added :required to form handling.
96+ # Handle multiple values for single form items with decent error report.
97+ #
9498# Revision 1.1 2002/08/16 04:25:03 richard
9599# cleanup: moved templatebuilder into templates.builder
96100#
0 commit comments