On Sat, 2007-02-17 at 12:38 -0800, Ben Bangert wrote:

> If I remove that, the Kid test fails. Apparently it needs the '.'  
> replaced with a '/' and needs the engine's root added. This logic is  
> carried over from the stand-alone Buffet package. I'm not entirely  
> sure why Kid and the other engines need this logic performed to  
> handle the dot notation but they seem to require it.

Sorry, what I meant was to remove support for it from the Mako buffet
adapter specifically, not Pylons itself (although I'm not sure why
Pylons needs to do anything at all to the template path, since this
should be a function of the template engine's Buffet adapter).  

The dotted notation was a bad idea to start with, since it's not
uncommon (especially in shared hosting environments) for paths to have
dots in them.

Breve normalizes its own path in it's Buffet adapter... is this not the
case for the other engines?

Bob is correct in that Kid requires dotted notation due to the fact that
it uses the Python import mechanism, but I think that *this* is the
special case, not the other way around, so perhaps that should be
reflected in the code (i.e. convert slashes to dots for Kid and leave
everyone else alone). 

Regards,
Cliff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to