comparison genshi/template/markup.py @ 606:9ada030ad986

Changed the default error handling mode to "strict".
author cmlenz
date Mon, 27 Aug 2007 20:05:31 +0000
parents bc5faca93699
children 237050080827
comparison
equal deleted inserted replaced
605:bc5faca93699 606:9ada030ad986
65 ('attrs', AttrsDirective), 65 ('attrs', AttrsDirective),
66 ('strip', StripDirective)] 66 ('strip', StripDirective)]
67 serializer = 'xml' 67 serializer = 'xml'
68 68
69 def __init__(self, source, basedir=None, filename=None, loader=None, 69 def __init__(self, source, basedir=None, filename=None, loader=None,
70 encoding=None, lookup='lenient', allow_exec=True): 70 encoding=None, lookup='strict', allow_exec=True):
71 Template.__init__(self, source, basedir=basedir, filename=filename, 71 Template.__init__(self, source, basedir=basedir, filename=filename,
72 loader=loader, encoding=encoding, lookup=lookup, 72 loader=loader, encoding=encoding, lookup=lookup,
73 allow_exec=allow_exec) 73 allow_exec=allow_exec)
74 # Make sure the include filter comes after the match filter 74 # Make sure the include filter comes after the match filter
75 if loader: 75 if loader:
Copyright (C) 2012-2017 Edgewall Software