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

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


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

Modified Files:
      Tag: ZODB3-3_1-branch
	fsrecover.py 
Log Message:
Backport: Fix use of RecordIterator() in fsrecover and add trivial test case.


=== ZODB3/ZODB/fsrecover.py 1.5 => 1.5.8.1 ===
--- ZODB3/ZODB/fsrecover.py:1.5	Wed Aug 14 18:07:09 2002
+++ ZODB3/ZODB/fsrecover.py	Mon Mar 17 14:39:14 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