[Zodb-checkins] CVS: ZODB3/ZODB - fsrecover.py:1.6

Jeremy Hylton jeremy@zope.com
Mon, 17 Mar 2003 14:26:40 -0500


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv16239

Modified Files:
	fsrecover.py 
Log Message:
Fix use of RecordIterator() in fsrecover and add trivial test case.


=== ZODB3/ZODB/fsrecover.py 1.5 => 1.6 ===
--- ZODB3/ZODB/fsrecover.py:1.5	Wed Aug 14 18:07:09 2002
+++ ZODB3/ZODB/fsrecover.py	Mon Mar 17 14:26:09 2003
@@ -24,7 +24,7 @@
 Options:
 
     -f
-       Force output to putput file even if it exists
+       Force output to output file even if it exists
 
     -v level
 
@@ -50,8 +50,8 @@
        option is used, then t should be 0.
 
 
-Important note: The ZODB package must be imporable.  You may need
-                to adjust the Python path accordingly.
+Important note: The ZODB package must be imporatble.  You may need
+                to adjust PYTHONPATH accordingly.
 
 """
 
@@ -139,13 +139,8 @@
         except: e={}
     else: e={}
 
-    result=RecordIterator(
-        tid, status, user, description, e,
-        pos, (tend, file, seek, read,
-              tpos,
-              )
-        )
-
+    result = RecordIterator(tid, status, user, description, e, pos, tend,
+                            file, tpos)
     pos=tend
 
     # Read the (intentionally redundant) transaction length