[Zope-Checkins] CVS: Zope/lib/python/tempstorage - TemporaryStorage.py:1.4

Jeremy Hylton jeremy at zope.com
Wed Dec 24 11:46:16 EST 2003


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

Modified Files:
	TemporaryStorage.py 
Log Message:
Add loadEx definition.


=== Zope/lib/python/tempstorage/TemporaryStorage.py 1.3 => 1.4 ===
--- Zope/lib/python/tempstorage/TemporaryStorage.py:1.3	Wed Dec 24 11:42:22 2003
+++ Zope/lib/python/tempstorage/TemporaryStorage.py	Wed Dec 24 11:46:15 2003
@@ -97,6 +97,10 @@
         finally:
             self._lock_release()
 
+    def loadEx(self, oid, version):
+        p, s = self.load(oid, version)
+        return p, s, s
+
     def loadSerial(self, oid, serial, marker=[]):
         """ this is only useful to make conflict resolution work.  It
         does not actually implement all the semantics that a revisioning




More information about the Zope-Checkins mailing list