[Zodb-checkins] CVS: StandaloneZODB/Tools - zeoreplay.py:1.2

Barry Warsaw barry@wooz.org
Thu, 9 May 2002 11:35:57 -0400


Update of /cvs-repository/StandaloneZODB/Tools
In directory cvs.zope.org:/tmp/cvs-serv17611

Modified Files:
	zeoreplay.py 
Log Message:
Oops, comment out some non-standard stuff (selecting a replay target
storage needs to be more configurable).


=== StandaloneZODB/Tools/zeoreplay.py 1.1 => 1.2 ===
 
 from ZODB.FileStorage import FileStorage
-from bsddb3Storage.Full import Full
-from Standby.primary import PrimaryStorage
-from Standby.config import RS_PORT
+#from bsddb3Storage.Full import Full
+#from Standby.primary import PrimaryStorage
+#from Standby.config import RS_PORT
 from ZODB.Transaction import Transaction
 from ZODB.utils import p64
 
@@ -282,7 +282,7 @@
     if replay:
         storage = FileStorage(storagefile)
 	#storage = Full(storagefile)
-        storage = PrimaryStorage('yyz', storage, RS_PORT)
+        #storage = PrimaryStorage('yyz', storage, RS_PORT)
     t0 = now()
     p = ZEOParser(maxtxns, report, storage)
     i = 0