[Zope-CMF] portal skins - Images Folder - Attribute Error
Martijn Pieters
mj@digicool.com
Mon, 23 Apr 2001 10:18:36 +0200
On Sat, Apr 21, 2001 at 08:34:50PM +0100, seb bacon wrote:
> It's a bug. I've not got a pristine version to diff, but in
> CMFCore/FSImage, the lines:
>
> def _createZODBClone(self):
> return Image(self.getId(), '', self._read())
>
> should read:
>
> def _createZODBClone(self):
> return Image(self.getId(), '', self._readFile())
Indeed, and I am to blame. Your fix is correct, sed, and checked into CVS.
Mea culpa!
--
Martijn Pieters
| Software Engineer mailto:mj@digicool.com
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------