Show More
@@ -78,6 +78,9 b' class Configurable(HasTraits):' | |||||
78 | # making that a class attribute. |
|
78 | # making that a class attribute. | |
79 | # self.config = deepcopy(config) |
|
79 | # self.config = deepcopy(config) | |
80 | self.config = config |
|
80 | self.config = config | |
|
81 | else: | |||
|
82 | # allow _config_default to return something | |||
|
83 | self._load_config(self.config) | |||
81 | # This should go second so individual keyword arguments override |
|
84 | # This should go second so individual keyword arguments override | |
82 | # the values in config. |
|
85 | # the values in config. | |
83 | super(Configurable, self).__init__(**kwargs) |
|
86 | super(Configurable, self).__init__(**kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now