[Zope] packing a data.fs from outside zope?
Chris McDonough
chrism@digicool.com
Tue, 15 May 2001 23:01:46 -0400
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 )