[Zodb-checkins] CVS: Zope/lib/python/ZODB - fspack.py:1.9

Jeremy Hylton jeremy at zope.com
Thu Jul 3 12:53:30 EDT 2003


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

Modified Files:
	fspack.py 
Log Message:
Finish fixing pack() to accept "u" -- non-transactional undo.


=== Zope/lib/python/ZODB/fspack.py 1.8 => 1.9 ===
--- Zope/lib/python/ZODB/fspack.py:1.8	Thu May 22 14:15:55 2003
+++ Zope/lib/python/ZODB/fspack.py	Thu Jul  3 11:53:24 2003
@@ -170,7 +170,7 @@
         self.ltid = th.tid
         if th.status == "c":
             self.fail(pos, "transaction with checkpoint flag set")
-        if not (th.status == " " or th.status == "p"):
+        if not th.status in " pu": # recognize " ", "p", and "u" as valid
             self.fail(pos, "invalid transaction status: %r", th.status)
         if th.tlen < th.headerlen():
             self.fail(pos, "invalid transaction header: "




More information about the Zodb-checkins mailing list