# HG changeset patch # User Richard Jones # Date 1031891952 0 # Node ID efaabc87f02ea61c302006aea5dbffe0f1d4647b # Parent 8622dc1bcf2373e9e73c3a98ac0ee5b0e41a6a0e no, really diff -r 8622dc1bcf23 -r efaabc87f02e roundup/templates/builder.py --- a/roundup/templates/builder.py Fri Sep 13 04:27:04 2002 +0000 +++ b/roundup/templates/builder.py Fri Sep 13 04:39:12 2002 +0000 @@ -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 @@ # 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 @@ else: print "Usage: %s