[ZPT] CVS: Products/PageTemplates - PageTemplateFile.py:1.15
Thu, 18 Jul 2002 22:34:30 -0500
Albertas Agejevas wrote:
> from ZODB.POSException, but it would create a dependency on ZODB,
> which is not a very good thing AFAIU, as PageTemplates are meant to be
> more or less standalone.
The exception in question is only meant to be raised if you're trying to
pickle a PageTemplateFile into the ZODB, so it would be kosher to try to
import it *inside* the except clause.
Evan @ 4-am