From: richard Date: Mon, 28 Jul 2003 23:19:21 +0000 (+0000) Subject: fixed generic template discovery X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5039f34b9aac125fcc59a2258571fecede9b179f;p=roundup.git fixed generic template discovery git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1795 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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 '''