packing a data.fs from outside zope?
Don't suppose anyone's produced a nice convenient "pack a data.fs file" script that's runnable from outside Zope? Anthony
Here ya go, Anthony (untested, but I'm feeling confident tonight ;-): from ZODB.DB import DB from ZODB.FileStorage import FileStorage s = FileStorage('Data.fs') db = DB(s) db.pack() db.close() Anthony Baxter wrote:
Don't suppose anyone's produced a nice convenient "pack a data.fs file" script that's runnable from outside Zope?
Anthony
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Anthony Baxter -
Chris McDonough