Show More
@@ -207,8 +207,9 b' class Configurable(HasTraits):' | |||
|
207 | 207 | for parent in cls.mro(): |
|
208 | 208 | # only include parents that are not base classes |
|
209 | 209 | # and are not the class itself |
|
210 | if issubclass(parent, Configurable) and \ | |
|
211 | not parent in (Configurable, SingletonConfigurable, cls): | |
|
210 | # and have some configurable traits to inherit | |
|
211 | if parent is not cls and issubclass(parent, Configurable) and \ | |
|
212 | parent.class_traits(config=True): | |
|
212 | 213 | parents.append(parent) |
|
213 | 214 | |
|
214 | 215 | if parents: |
General Comments 0
You need to be logged in to leave comments.
Login now