Commit f152e702 authored by Shane Hathaway's avatar Shane Hathaway

The _v_mount_point_ attribute is not needed after all.

parent 872961c5
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Database connection support """Database connection support
$Id: Connection.py,v 1.84 2003/01/21 21:02:28 bwarsaw Exp $""" $Id: Connection.py,v 1.85 2003/02/06 20:31:17 shane Exp $"""
from cPickleCache import PickleCache from cPickleCache import PickleCache
from POSException import ConflictError, ReadConflictError from POSException import ConflictError, ReadConflictError
...@@ -393,7 +393,11 @@ class Connection(ExportImport.ExportImport): ...@@ -393,7 +393,11 @@ class Connection(ExportImport.ExportImport):
seek(0) seek(0)
clear_memo() clear_memo()
dump((klass,args)) dump((klass,args))
try:
dump(state) dump(state)
except:
import pdb; pdb.set_trace()
raise
p=file(1) p=file(1)
s=dbstore(oid,serial,p,version,transaction) s=dbstore(oid,serial,p,version,transaction)
self._store_count = self._store_count + 1 self._store_count = self._store_count + 1
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
############################################################################## ##############################################################################
"""Mounted database support """Mounted database support
$Id: Mount.py,v 1.18 2003/02/05 19:45:02 shane Exp $""" $Id: Mount.py,v 1.19 2003/02/06 20:31:17 shane Exp $"""
__version__='$Revision: 1.18 $'[11:-2] __version__='$Revision: 1.19 $'[11:-2]
import thread, Persistence, Acquisition import thread, Persistence, Acquisition
from Acquisition import aq_base from Acquisition import aq_base
...@@ -155,7 +155,6 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit): ...@@ -155,7 +155,6 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit):
data = aq_base(obj) data = aq_base(obj)
# Store the data object in a tuple to hide from acquisition. # Store the data object in a tuple to hide from acquisition.
self._v_data = (data,) self._v_data = (data,)
data._v_mount_point_ = (aq_base(self),)
return data return data
def _getOrOpenObject(self, parent): def _getOrOpenObject(self, parent):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment