[ZPT] CVS: Products/PageTemplates - PageTemplateFile.py:1.17
Chris Withers
chrisw@nipltd.com
Sun, 21 Jul 2002 17:07:56 +0100
Albertas Agejevas wrote:
>
> Update of /cvs-repository/Products/PageTemplates
> In directory cvs.zope.org:/tmp/cvs-serv24552
>
> Modified Files:
> PageTemplateFile.py
> Log Message:
> Changed a string exception to a class
>
> === Products/PageTemplates/PageTemplateFile.py 1.16 => 1.17 ===
> raise StorageError, ("Instance of AntiPersistent class %s "
> "cannot be stored." % self.__class__.__name__)
>
> -StorageError = "StorageError"
> +class StorageError(Exception):
> + pass
Any chance you could fix itthe way Evan suggested?
cheers,
Chris