[ZPT] CVS: Products/PageTemplates - PageTemplateFile.py:1.15

Fred L. Drake, Jr. fdrake@acm.org
Thu, 18 Jul 2002 16:37:57 -0400

Casey Duncan writes:
 > I would suggest not using string exceptions in any new coding, they
 > are slated to be deprecated in Python. Perhaps use::
 >   class StorageError(Exception):
 >       pass

Might it not be better to find out where it should be imported from?


Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation