Author: jmorliaguet Date: Thu Jun 8 23:50:54 2006 New Revision: 3368 Modified: cpsskins/branches/paris-sprint-2006/setup/preset.py
Log: - call the resource as 'data' to avoid a possible clash with the 'resource' attribute in case someone calls the preset 'resource' Modified: cpsskins/branches/paris-sprint-2006/setup/preset.py ============================================================================== --- cpsskins/branches/paris-sprint-2006/setup/preset.py (original) +++ cpsskins/branches/paris-sprint-2006/setup/preset.py Thu Jun 8 23:50:54 2006 @@ -34,7 +34,7 @@ self.resource = resource # add a reference from the resource to the preset self.resource.__parent__ = self - self.resource.__name__ = name + self.resource.__name__ = u'data' def __repr__(self): return u'<Preset: %s>' % IIdentifiable(self).getURI() -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins