[Zodb-checkins] CVS: Zope/lib/python/ZODB - fsrecover.py:1.5.6.1

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


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv19953

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


=== Zope/lib/python/ZODB/fsrecover.py 1.5 => 1.5.6.1 ===
--- Zope/lib/python/ZODB/fsrecover.py:1.5	Wed Aug 14 18:07:09 2002
+++ Zope/lib/python/ZODB/fsrecover.py	Mon Mar 17 14:51:52 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