Hi all,

In many of my controllers I have the following use case. I need to send xml 
to other webservices in order to complete my request. So I have implemented 
something like :
            loader = pylons.config['pylons.app_globals'].genshi_loader
            template = loader.load('ask_prices.html')

in many places. It works fine up to TG2.1b2

but in TG 2.1.3 this breaks

the differences lies in tg.configurations (Line 385) 
in setup_genshi_renderer

the new version has been rewritten (mostly a simplification) but it lacks 
the 

config['pylons.app_globals'].genshi_loader = loader

near the end of the method.

for now I subclass AppConfig in app_cfg in order to insert this command

my question is : bug or feature ?

regards

NiL

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/nA4cnHrJlocJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to