Package turbogears :: Package command :: Module kid2genshi :: Class Kid2Genshi

Class Kid2Genshi

source code

object --+
         |
        Kid2Genshi

Convert Kid to Genshi templates.

Instance Methods
 
__init__(self, version)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
convert_template(self, filename, force=False, keep=False) source code
 
change_config(self, filename) source code
 
run(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  desc = "Convert all Kid templates in the project to Genshi"
  engines = 'Kid', 'Genshi'
  extensions = '.kid', '.html'
  xmlns = 'http://purl.org/kid/ns#', 'http://genshi.edgewall.org/'
  need_project = True
hash(x)
Properties

Inherited from object: __class__

Method Details

__init__(self, version)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)