[CMF-checkins]
SVN: CMF/branches/tseaver-catalog_events/CMFCore/CMFCatalogAware.py
- Some opaque items expect to be able to acquire stuff, so we need
Jens Vagelpohl
jens at dataflake.org
Sat Apr 22 09:56:04 EDT 2006
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)
More information about the CMF-checkins
mailing list