Re: [Zope] NamedTemplate.__call__ not returning anything

2008-01-14 Thread Dieter Maurer
Maurits van Rees wrote at 2008-1-13 23:32 +: >I have some code where I try to get a named template and render it and >if it fails I render a default template instead. But this fails, >presumably because the __call__ method of NamedTemplate does not >return anything. From zope/formlib/namedtem

[Zope] NamedTemplate.__call__ not returning anything

2008-01-13 Thread Maurits van Rees
Hi, I have some code where I try to get a named template and render it and if it fails I render a default template instead. But this fails, presumably because the __call__ method of NamedTemplate does not return anything. From zope/formlib/namedtemplate.py (Zope 2.10): class NamedTemplate(objec