[Zope] Newbie product question

Chris Withers chrisw@nipltd.com
Tue, 20 Aug 2002 17:29:55 +0100


Marie Robichon wrote:
>         try:
>             self._setObject('contents_html', 
> PageTemplate.PageTemplate('contents_html'))
>         except:
>             pass

This is really bad style as the try: except: will mask any errors that occur 
when you try and create the page template.

Take the try: except: out and maybe you will find out what's really going on...

cheers,

Chris