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