From: Martin A. <svn...@pl...> - 2009-06-18 09:53:22
|
Author: optilude Date: Thu Jun 18 09:53:08 2009 New Revision: 27493 Modified: plone.dexterity/trunk/plone/dexterity/content.py Log: Super doesn't have __getattr__ Modified: plone.dexterity/trunk/plone/dexterity/content.py ============================================================================== --- plone.dexterity/trunk/plone/dexterity/content.py (original) +++ plone.dexterity/trunk/plone/dexterity/content.py Thu Jun 18 09:53:08 2009 @@ -170,7 +170,7 @@ if field is not None: return field.default - return super(DexterityContent, self).__getattr__(name) + raise AttributeError(name) # Let __name__ and id be identical. Note that id must be ASCII in Zope 2, # but __name__ should be unicode. Note that setting the name to something |