PPA.Template.SourceFinders
index
/home/ods/SF-PPA/homepage/API/PPA/Template/SourceFinders.py

# $Id: SourceFinders.py,v 1.1.1.1 2004/04/09 13:18:10 ods Exp $

 
Modules
       
os

 
Classes
       
DummySourceFinder
exceptions.Exception
TemplateNotFoundError
FileSourceFinder

 
class DummySourceFinder
    Usefull when we need only ready to use templates in cache
 
  Methods defined here:
find(self, template_name, template_type=None)

 
class FileSourceFinder
    Find source of template by name and type.
 
  Methods defined here:
__init__(self, search_dirs, file=<type 'file'>)
find(self, template_name, template_type=None)

 
class TemplateNotFoundError(exceptions.Exception)
     Methods defined here:
__init__(self, name, type=None, where=None)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)