From: richard Date: Fri, 13 Sep 2002 04:39:12 +0000 (+0000) Subject: no, really X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=01bb27179e26d23764af88216288c84fb6249fe1;p=roundup.git no, really git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1163 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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