[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Publisher/Browser - ResourceMeta.py:1.3
Marius Gedminas
mgedmin@delfi.lt
Tue, 25 Jun 2002 10:28:42 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv18420/lib/python/Zope/App/Publisher/Browser
Modified Files:
ResourceMeta.py
Log Message:
<browser:resource image="foo"...> should create ImageResourceFactory,
not FileResourceFactory
=== Zope3/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py 1.2 => 1.3 ===
if self.__image is not None:
- return FileResourceFactory(_context.path(self.__image))
+ return ImageResourceFactory(_context.path(self.__image))
raise ConfigurationError(
"At least one of the factory, file, and image "