Log message for revision 67268:
- Some opaque items expect to be able to acquire stuff, so we need
to return fully wrapped objects from the opaque*-methods
Changed:
U CMF/branches/tseaver-catalog_events/CMFCore/CMFCatalogAware.py
-=-
Modified: CMF/branches/tseaver-catalog_events/CMFCore/CMFCatalogAware.py
===================================================================
--- CMF/branches/tseaver-catalog_events/CMFCore/CMFCatalogAware.py
2006-04-22 07:07:53 UTC (rev 67267)
+++ CMF/branches/tseaver-catalog_events/CMFCore/CMFCatalogAware.py
2006-04-22 13:56:03 UTC (rev 67268)
@@ -174,7 +174,7 @@
for name in self_base.__dict__.keys():
obj = getattr(self_base, name)
if ICallableOpaqueItem.providedBy(obj):
- items.append((obj.getId(), obj))
+ items.append((obj.getId(), getattr(self, name)))
return tuple(items)
_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins