[Zope3-checkins] CVS: Zope3/src/zope/app/container - dependency.py:1.8
Fred L. Drake, Jr.
fred@zope.com
Tue, 1 Jul 2003 18:18:06 -0400
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv28747
Modified Files:
dependency.py
Log Message:
Don't call canonicalPath() just to format an exception message; that's
too fragile -- failures in canonicalPath() end up masking the actual
error we're trying to report.
=== Zope3/src/zope/app/container/dependency.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/container/dependency.py:1.7 Sat Jun 7 02:37:22 2003
+++ Zope3/src/zope/app/container/dependency.py Tue Jul 1 18:18:05 2003
@@ -38,7 +38,6 @@
dependents = dependency.dependents()
if dependents:
objectpath = getPath(event.object)
- dependents = map(canonicalPath, dependents)
raise DependencyError("Removal of object (%s)"
" which has dependents (%s)"
% (objectpath,