From 5039f34b9aac125fcc59a2258571fecede9b179f Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 28 Jul 2003 23:19:21 +0000 Subject: [PATCH] fixed generic template discovery git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1795 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/templating.py | 2 +- roundup/init.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index 86d29ed..832ac68 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -56,7 +56,7 @@ def find_template(dir, name, extension): return (src, generic) # finally, try _generic.html - generic = filename + '.html' + generic = generic + '.html' src = os.path.join(dir, generic) if os.path.exists(src): return (src, generic) diff --git a/roundup/init.py b/roundup/init.py index fd7124c..804ed31 100644 --- a/roundup/init.py +++ b/roundup/init.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: init.py,v 1.26 2003-04-17 03:37:58 richard Exp $ +# $Id: init.py,v 1.27 2003-07-28 23:19:21 richard Exp $ __doc__ = """ Init (create) a roundup instance. @@ -86,7 +86,6 @@ def install(instance_home, template): # At the moment, it's just a copy copytree(template, instance_home) - def write_select_db(instance_home, backend): ''' Write the file that selects the backend for the tracker ''' -- 2.30.2