[Zodb-checkins] CVS: ZODB3/ZODB - fspack.py:1.8.6.2

Jeremy Hylton jeremy at zope.com
Thu Jul 3 12:35:41 EDT 2003


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

Modified Files:
      Tag: ZODB3-3_2-branch
	fspack.py 
Log Message:
Make pack() accept status "u" -- non-transactional undo.


=== ZODB3/ZODB/fspack.py 1.8.6.1 => 1.8.6.2 ===
--- ZODB3/ZODB/fspack.py:1.8.6.1	Tue Jun 24 17:01:58 2003
+++ ZODB3/ZODB/fspack.py	Thu Jul  3 11:35:35 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