Emiliano Marmonti wrote:
class Autores:
     def __init__( self, file='dcAuthor.fs' ):
        self.file= file
        self.db  = ZODB.DB( FileStorage( file ) )

This is BAD.

The level you're writing stuff at, let Zope take care of the storages, you just stick to writing application code ;-)

If you're doing anything more than subclassing persistent, you're doing too much :-)


Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to