summaryrefslogtreecommitdiff
path: root/patchtracker/Templates.py
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2010-05-13 19:49:09 +0200
committerSean Finney <seanius@debian.org>2010-05-13 19:49:09 +0200
commit4a87687ce6598d89c9368d45f8f570d86c6c665e (patch)
treeca700ea35f91fa7e5c4fb5b8a2a5ac7408be0f3e /patchtracker/Templates.py
parent01c7296bf73da53a8d2d3feccb700e1e1e570fa0 (diff)
downloadpatch-tracker-4a87687ce6598d89c9368d45f8f570d86c6c665e.tar.gz
More dead code removal
Diffstat (limited to 'patchtracker/Templates.py')
-rwxr-xr-xpatchtracker/Templates.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/patchtracker/Templates.py b/patchtracker/Templates.py
index bb93eae..ea6667a 100755
--- a/patchtracker/Templates.py
+++ b/patchtracker/Templates.py
@@ -24,16 +24,6 @@ class FrontPageTemplate(OurTemplate):
OurTemplate.__init__(self, file=tpl)
self.indices = indices
-class LetterTocTemplate(OurTemplate):
- def __init__(self, letter, collection):
- self.pkgs = collection
- self.idx = letter
- self.dists = ReleaseList("debian")
- sl = {}
- sl['crumbs'] = [("index/"+letter,"index for "+letter)]
- tpl = os.sep.join([Conf.template_dir, "letter_toc.tmpl"])
- OurTemplate.__init__(self, file=tpl, searchList=sl)
-
class SearchResultsTemplate(OurTemplate):
def __init__(self, search, searchtype, collection):
self.pkgs = {}
@@ -46,7 +36,6 @@ class SearchResultsTemplate(OurTemplate):
tpl = os.sep.join([Conf.template_dir, "searchresults.tmpl"])
OurTemplate.__init__(self, file=tpl)
-
class ErrorTemplate(OurTemplate):
def __init__(self, msg):
tpl = os.sep.join([Conf.template_dir, "cgi_error.tmpl"])