[Zodb-checkins] CVS: ZODB3/Tools - zeopack.py:1.6.2.2
Barry Warsaw
barry@wooz.org
Tue, 28 Jan 2003 16:19:53 -0500
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv9939
Modified Files:
Tag: ZODB3-3_1-branch
zeopack.py
Log Message:
pack2(): pack doesn't require a read-write connection.
=== ZODB3/Tools/zeopack.py 1.6.2.1 => 1.6.2.2 ===
--- ZODB3/Tools/zeopack.py:1.6.2.1 Wed Nov 13 15:05:50 2002
+++ ZODB3/Tools/zeopack.py Tue Jan 28 16:19:50 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()