diff roundup/templatebuilder.py @ 167:a49c8a2ddd26

Added time logging and file uploading to the templates.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 30 Jul 2001 08:12:17 +0000
parents 16fdc86183fe
children 2775f6727070
line wrap: on
line diff
--- a/roundup/templatebuilder.py	Mon Jul 30 08:04:26 2001 +0000
+++ b/roundup/templatebuilder.py	Mon Jul 30 08:12:17 2001 +0000
@@ -1,4 +1,4 @@
-# $Id: templatebuilder.py,v 1.7 2001-07-30 00:06:52 richard Exp $
+# $Id: templatebuilder.py,v 1.8 2001-07-30 08:12:17 richard Exp $
 import errno
 
 preamble = """ 
@@ -18,6 +18,8 @@
     fd = open(os.path.join(templateDir, 'htmlbase.py'), 'w')
     fd.write(preamble)
     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))
         fd.write('%s = """'%mangled_name)
         fd.write(open(file).read())
@@ -65,6 +67,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.7  2001/07/30 00:06:52  richard
+# Hrm - had IOError instead of OSError. Not sure why there's two. Ho hum.
+#
 # Revision 1.6  2001/07/29 07:01:39  richard
 # Added vim command to all source so that we don't get no steenkin' tabs :)
 #

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