[Zope-Checkins] CVS: Products/Transience - Transience.py:1.18

Chris McDonough chrism@zope.com
Tue, 13 Nov 2001 19:19:58 -0500


Update of /cvs-repository/Products/Transience
In directory cvs.zope.org:/tmp/cvs-serv22142

Modified Files:
	Transience.py 
Log Message:
Make get comply with interface.


=== Products/Transience/Transience.py 1.17 => 1.18 ===
     def get(self, k, default=_notfound):
         v = self._container.get(k, default)
-        if v is _notfound: raise KeyError, k
+        if v is _notfound: return None
         return v
         
     def has_key(self, k):