[ZPT] CVS: Zope/lib/python/Products/PageTemplates - ZopePageTemplate.py:1.35
Fred L. Drake, Jr.
fdrake@acm.org
Fri, 12 Apr 2002 16:11:01 -0400
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv30360
Modified Files:
ZopePageTemplate.py
Log Message:
But no need to introduce a bug in the process!
=== Zope/lib/python/Products/PageTemplates/ZopePageTemplate.py 1.34 => 1.35 ===
raise ResourceLockedError, "File is locked via WebDAV"
- if isinstance(file, StringType):
+ if not isinstance(file, StringType):
if not file: raise ValueError, 'File not specified'
file = file.read()