Commit f99ffa92 authored by Shane Hathaway's avatar Shane Hathaway

Changed MountPoint to use the revised getPhysicalPath() spec.

parent 6281db73
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
"""Mounted database support """Mounted database support
$Id: Mount.py,v 1.2 2000/05/24 20:53:34 shane Exp $""" $Id: Mount.py,v 1.3 2000/06/09 14:38:01 shane Exp $"""
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
import Globals, thread, Persistence, Acquisition import Globals, thread, Persistence, Acquisition
import ExtensionClass, string, time, sys import ExtensionClass, string, time, sys
...@@ -232,8 +232,9 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit): ...@@ -232,8 +232,9 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit):
id = data.id id = data.id
if callable(id): if callable(id):
id = id() id = id()
LOG('ZODB', INFO, 'Mounted database %s at %s/%s' % \ p = string.join(parent.getPhysicalPath() + (id,), '/')
(self._params, parent.getPhysicalPath(), id)) LOG('ZODB', INFO, 'Mounted database %s at %s' % \
(self._params, p))
return data return data
def __of__(self, parent): def __of__(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