Changeset 3326

Show
Ignore:
Timestamp:
07/20/07 13:52:01 (1 year ago)
Author:
faide
Message:

Ticket #1444: Genshi, while internally calling it "variable_lookup", has a Buffet Engine plugin that expects "lookup_errors". TG 1.0 and 1.1 look for and pass through only "variable_lookup", while TG 1.1 has "lookup_errors" in configuration. Thanks to Neil Blakey-Milner for the patch.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/turbogears/view/base.py

    r3318 r3326  
    347347        "genshi.encoding" : config.get("genshi.encoding", "utf-8"), 
    348348        "genshi.default_doctype" : config.get("genshi.default_doctype", None), 
    349         "genshi.variable_lookup" : config.get("genshi.variable_lookup", "strict"), 
     349        "genshi.lookup_errors" : config.get("genshi.lookup_errors", "strict"), 
    350350        "kid.encoding" : config.get("kid.encoding", "utf-8"), 
    351351        "kid.assume_encoding" : config.get("kid.assume_encoding", "utf-8"),