From 00a098bc151f911135666877599613bc432f2d67 Mon Sep 17 00:00:00 2001 From: Malthe Borch Date: Fri, 23 Nov 2012 14:32:50 +0100 Subject: [PATCH] Update plone/dexterity/content.py Oops. --- plone/dexterity/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/dexterity/content.py b/plone/dexterity/content.py index 8bbc632..cf1caf6 100644 --- a/plone/dexterity/content.py +++ b/plone/dexterity/content.py @@ -181,7 +181,7 @@ class DexterityContent(DAVResourceMixin, PortalContent, DefaultDublinCoreImpl, C # such as __conform__ that we can disregard (because we # wouldn't be in here if the class had such an attribute # defined). - if not name.startswith('__'): + if name.startswith('__'): raise AttributeError(name) # attribute was not found; try to look it up in the schema and return