[Zope-Checkins] CVS: Products/PageTemplates - PageTemplateFile.py:1.17

Albertas Agejevas alga@codeworks.lt
Thu, 18 Jul 2002 18:32:17 -0400


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