From 01bb27179e26d23764af88216288c84fb6249fe1 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 13 Sep 2002 04:39:12 +0000 Subject: [PATCH] no, really git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1163 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/templates/builder.py | 45 +++--------------------------------- 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/roundup/templates/builder.py b/roundup/templates/builder.py index 8ad9f92..eeb93cf 100644 --- a/roundup/templates/builder.py +++ b/roundup/templates/builder.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: builder.py,v 1.3 2002-09-13 04:27:04 richard Exp $ +# $Id: builder.py,v 1.4 2002-09-13 04:39:12 richard Exp $ import os, sys, glob, errno, re __doc__ = """ @@ -73,6 +73,8 @@ def installHtmlBase(template, installDir): # print "installing from", htmlbase.__file__, "into", installDir modulecontents = dir(htmlbase) for mangledfile in modulecontents: + if mangledfile.startswith('__') and mangledfile.endswith('__'): + continue filename = re.sub('DOT', '.', mangledfile) outfile = os.path.join(installDir, filename) outfd = open(outfile, 'w') @@ -87,45 +89,4 @@ if __name__ == "__main__": else: print "Usage: %s