summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c61050c)
raw | patch | inline | side by side (parent: c61050c)
author | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 24 Nov 2001 00:53:12 +0000 (00:53 +0000) | ||
committer | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 24 Nov 2001 00:53:12 +0000 (00:53 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@420 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/htmltemplate.py | patch | blob | history |
index 040b9a8a2c70ae183bd09a5dcdbb11daf7192590..a10f9e765630e5c56d1e2d069722e8789a95e05c 100644 (file)
--- a/roundup/htmltemplate.py
+++ b/roundup/htmltemplate.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: htmltemplate.py,v 1.45 2001-11-22 15:46:42 jhermann Exp $
+# $Id: htmltemplate.py,v 1.46 2001-11-24 00:53:12 jhermann Exp $
__doc__ = """
Template engine.
c = self.classname
try:
s = open(os.path.join(self.templates, c+'.newitem')).read()
- except:
+ except IOError:
s = open(os.path.join(self.templates, c+'.item')).read()
w('<form action="new%s" method="POST" enctype="multipart/form-data">'%c)
for key in form.keys():
#
# $Log: not supported by cvs2svn $
+# Revision 1.45 2001/11/22 15:46:42 jhermann
+# Added module docstrings to all modules.
+#
# Revision 1.44 2001/11/21 23:35:45 jhermann
# Added globbing for win32, and sample marking in a 2nd file to test it
#