[Zodb-checkins] CVS: ZODB3/Tools - zeopack.py:1.8
Barry Warsaw
barry@wooz.org
Tue, 28 Jan 2003 16:20:43 -0500
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv10367
Modified Files:
zeopack.py
Log Message:
pack2(): pack doesn't require a read-write connection.
=== ZODB3/Tools/zeopack.py 1.7 => 1.8 ===
--- ZODB3/Tools/zeopack.py:1.7 Mon Nov 18 17:54:08 2002
+++ ZODB3/Tools/zeopack.py Tue Jan 28 16:20:40 2003
@@ -62,7 +62,7 @@
cs.close()
def pack2(addr, storage, days):
- cs = ClientStorage(addr, storage=storage, wait=1)
+ cs = ClientStorage(addr, storage=storage, wait=1, read_only=1)
cs.pack(wait=1, days=days)
cs.close()