SVN: Zope/trunk/src/OFS/Traversable.py Reintroduce an aq_inner into the getPhysicalPath code to fix test failures in CMF's discussion items
Hanno Schlichting <[email protected]>
| Newsgroups | gmane.comp.web.zope.cvs |
|---|---|
| Message-ID | <[email protected]> |
Log message for revision 122543:
Reintroduce an aq_inner into the getPhysicalPath code to fix test failures in CMF's discussion items
Changed:
U Zope/trunk/src/OFS/Traversable.py
-=-
Modified: Zope/trunk/src/OFS/Traversable.py
===================================================================
--- Zope/trunk/src/OFS/Traversable.py 2011-08-11 18:52:13 UTC (rev 122542)
+++ Zope/trunk/src/OFS/Traversable.py 2011-08-11 19:08:31 UTC (rev 122543)
@@ -137,10 +137,7 @@
pid = p.getId()
path = (pid, ) + path
- try:
- p = p.__parent__
- except AttributeError:
- p = None
+ p = aq_parent(aq_inner(p))
else:
if IApplication.providedBy(p):
path = ('', ) + path
_______________________________________________
Zope-Checkins maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins