##// END OF EJS Templates
check `parent is not None` rather than `not parent`...
MinRK -
Show More
@@ -81,7 +81,7 b' class Configurable(HasTraits):'
81 81 This ensures that instances will be configured properly.
82 82 """
83 83 parent = kwargs.pop('parent', None)
84 if parent:
84 if parent is not None:
85 85 # config is implied from parent
86 86 if kwargs.get('config', None) is None:
87 87 kwargs['config'] = parent.config
General Comments 0
You need to be logged in to leave comments. Login now