"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Cheetah/Templates/SkeletonPage.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).

SkeletonPage.py  (cheetah3-3.2.2):SkeletonPage.py  (cheetah3-3.2.3)
skipping to change at line 177 skipping to change at line 177
_orig_transheader = trans _orig_transheader = trans
trans = _cacheCollector_header = DummyTransaction() trans = _cacheCollector_header = DummyTransaction()
write = _cacheCollector_header.response().write write = _cacheCollector_header.response().write
_v = VFSL([locals()]+SL+[globals(), builtin],"docType",True) # u'$do cType' on line 7, col 1 _v = VFSL([locals()]+SL+[globals(), builtin],"docType",True) # u'$do cType' on line 7, col 1
if _v is not None: write(_filter(_v, rawExpr=u'$docType')) # from li ne 7, col 1. if _v is not None: write(_filter(_v, rawExpr=u'$docType')) # from li ne 7, col 1.
write(u''' write(u'''
''') ''')
_v = VFSL([locals()]+SL+[globals(), builtin],"htmlTag",True) # u'$ht mlTag' on line 8, col 1 _v = VFSL([locals()]+SL+[globals(), builtin],"htmlTag",True) # u'$ht mlTag' on line 8, col 1
if _v is not None: write(_filter(_v, rawExpr=u'$htmlTag')) # from li ne 8, col 1. if _v is not None: write(_filter(_v, rawExpr=u'$htmlTag')) # from li ne 8, col 1.
write(u''' write(u'''
<!-- This document was autogenerated by Cheetah (https://cheetahtemplate.org/). <!-- This document was autogenerated by Cheetah (https://cheetahtemplate.org/).
Do not edit it directly! Do not edit it directly!
Copyright ''') Copyright ''')
_v = VFSL([locals()]+SL+[globals(), builtin],"currentYr",True) # u'$ currentYr' on line 12, col 11 _v = VFSL([locals()]+SL+[globals(), builtin],"currentYr",True) # u'$ currentYr' on line 12, col 11
if _v is not None: write(_filter(_v, rawExpr=u'$currentYr')) # from line 12, col 11. if _v is not None: write(_filter(_v, rawExpr=u'$currentYr')) # from line 12, col 11.
write(u''' - ''') write(u''' - ''')
_v = VFSL([locals()]+SL+[globals(), builtin],"siteCopyrightName",Tru e) # u'$siteCopyrightName' on line 12, col 24 _v = VFSL([locals()]+SL+[globals(), builtin],"siteCopyrightName",Tru e) # u'$siteCopyrightName' on line 12, col 24
if _v is not None: write(_filter(_v, rawExpr=u'$siteCopyrightName')) # from line 12, col 24. if _v is not None: write(_filter(_v, rawExpr=u'$siteCopyrightName')) # from line 12, col 24.
write(u''' - All Rights Reserved. write(u''' - All Rights Reserved.
Feel free to copy any javascript or html you like on this site, Feel free to copy any javascript or html you like on this site,
skipping to change at line 261 skipping to change at line 261
_mainCheetahMethod_for_SkeletonPage= u'respond' _mainCheetahMethod_for_SkeletonPage= u'respond'
## END CLASS DEFINITION ## END CLASS DEFINITION
if not hasattr(SkeletonPage, '_initCheetahAttributes'): if not hasattr(SkeletonPage, '_initCheetahAttributes'):
templateAPIClass = getattr(SkeletonPage, '_CHEETAH_templateClass', Template) templateAPIClass = getattr(SkeletonPage, '_CHEETAH_templateClass', Template)
templateAPIClass._addCheetahPlumbingCodeToClass(SkeletonPage) templateAPIClass._addCheetahPlumbingCodeToClass(SkeletonPage)
# 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=SkeletonPage()).run() CmdLineIface(templateObj=SkeletonPage()).run()
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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