"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Cheetah/Compiler.py" between
cheetah3-3.2.2.tar.gz and cheetah3-3.2.3.tar.gz

About: Cheetah3 is a template engine and code generation tool for e.g. for Web development or Java, SQL, LaTeX, form email ... (written in Python).

Compiler.py  (cheetah3-3.2.2):Compiler.py  (cheetah3-3.2.3)
skipping to change at line 2153 skipping to change at line 2153
return '\n'.join(self._moduleConstants) return '\n'.join(self._moduleConstants)
def classDefs(self): def classDefs(self):
classDefs = [klass.classDef() for klass in self._finishedClasses()] classDefs = [klass.classDef() for klass in self._finishedClasses()]
return '\n\n'.join(classDefs) return '\n\n'.join(classDefs)
def moduleFooter(self): def moduleFooter(self):
return """ return """
# CHEETAH was developed by Tavis Rudd and Mike Orr # CHEETAH was developed by Tavis Rudd and Mike Orr
# with code, advice and input from many other volunteers. # with code, advice and input from many other volunteers.
# For more information visit https://cheetahtemplate.org/ # For more information visit https://cheetahtemplate.org/
################################################## ##################################################
## if run from command line: ## if run from command line:
if __name__ == '__main__': if __name__ == '__main__':
from Cheetah.TemplateCmdLineIface import CmdLineIface from Cheetah.TemplateCmdLineIface import CmdLineIface
CmdLineIface(templateObj=%(className)s()).run() CmdLineIface(templateObj=%(className)s()).run()
""" % {'className': self._mainClassName} """ % {'className': self._mainClassName}
################################################## ##################################################
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)