Dan G wrote:
> What I'm doing is pretty similar to the #extends thing actually. I'm 
> doing this directly in the python code, though. I can extend the 
> Cheetah-provided Template class in order to create both pure python 
> and cheetah built-in functions. Additionally, because I can intercept 
> Cheetah's compile function, I can actually replace SNIPPET:: even 
> within snippets (so we can have recursive snippets without requiring 
> the $SNIPPET syntax). I think I may have also found a good way to 
> carry over the #def's from snippets. (I tried #def global already. 
> Cheetah barf, ew!). Basically, I can just append the search list of 
> any snippets to the search list of the snippetter. Anyway, hopefully 
> I'll have something working before Monday, and I'll have a patch ready.
Great, looking forward to playing with it!

--Michael




_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to