Changeset 7

Show
Ignore:
Timestamp:
Thu May 12 15:49:53 2005
Author:
rdelon
Message:
Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/cherrytemplate/cherrytemplate.py

    r6 r7  
    443 443  
    444 444 def renderTemplate(template = '', file = None, inputEncoding = None, outputEncoding = None, outputEncodingErrors = None, returnGenerator = None, glob = None, loc = None):  
    445       #print "* Rendering:", file  
      445     # print "* Rendering:", file  
    445 445     if loc is None:  
    446 446         loc = inspect.currentframe(1).f_locals  
     
    457 457     _writeTemplate(f, template, '    ')  
    458 458     template = f.getvalue()  
    459       #print "*** template:", template  
    460       #print "*** END TEMPLATE"  
      459     # print "*** template:", template  
      460     # print "*** END TEMPLATE"  
    461 461      
    462 462     g = glob.copy() # make a copy because we don't want to avoid changing original global scope.