diff --git a/frappy/properties.py b/frappy/properties.py index 5e8775c6..b6badf38 100644 --- a/frappy/properties.py +++ b/frappy/properties.py @@ -141,6 +141,10 @@ class HasProperties(HasDescriptors): for pn, po in list(properties.items()): value = getattr(cls, pn, po) if not isinstance(value, Property): # attribute may be a bare value + if value is None: + # this allows to remove a property defined in a base class + cls.propertyDict.pop(pn) + continue po = po.copy() try: # try to apply bare value to Property