Log message for revision 115037: Actually use the aq_base safety check
Changed: U Zope/branches/andig-catalog-report/src/Products/ZCatalog/CatalogReport.py -=- Modified: Zope/branches/andig-catalog-report/src/Products/ZCatalog/CatalogReport.py =================================================================== --- Zope/branches/andig-catalog-report/src/Products/ZCatalog/CatalogReport.py 2010-07-24 17:16:22 UTC (rev 115036) +++ Zope/branches/andig-catalog-report/src/Products/ZCatalog/CatalogReport.py 2010-07-24 17:18:18 UTC (rev 115037) @@ -122,11 +122,12 @@ self.request = request self.threshold = threshold - path = getattr(aq_parent(catalog), 'getPhysicalPath', None) + parent = aq_parent(catalog) + path = getattr(aq_base(parent), 'getPhysicalPath', None) if path is None: path = ('', 'NonPersistentCatalog') else: - path = tuple(path()) + path = tuple(parent.getPhysicalPath()) self.cid = path def stop(self): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins