[Zope-Checkins] CVS: Zope/lib/python/ZODB - Mount.py:1.17
Shane Hathaway
shane@zope.com
Wed, 5 Feb 2003 11:49:05 -0500
Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv27821
Modified Files:
Mount.py
Log Message:
Made mount points visible from mounted objects
=== Zope/lib/python/ZODB/Mount.py 1.16 => 1.17 ===
--- Zope/lib/python/ZODB/Mount.py:1.16 Wed Aug 14 18:07:09 2002
+++ Zope/lib/python/ZODB/Mount.py Wed Feb 5 11:49:02 2003
@@ -154,6 +154,7 @@
data = getattr(obj, 'aq_base', obj)
# Store the data object in a tuple to hide from acquisition.
self._v_data = (data,)
+ data._v_mount_point_ = self
return data
def _getOrOpenObject(self, parent):