Show More
@@ -185,6 +185,7 b' class Exporter(LoggingConfigurable):' | |||
|
185 | 185 | return Config() |
|
186 | 186 | |
|
187 | 187 | def _config_changed(self, name, old, new): |
|
188 | """When setting config, make sure to start with our default_config""" | |
|
188 | 189 | c = self.default_config |
|
189 | 190 | if new: |
|
190 | 191 | c.merge(new) |
@@ -193,6 +194,13 b' class Exporter(LoggingConfigurable):' | |||
|
193 | 194 | |
|
194 | 195 | |
|
195 | 196 | def _load_template(self): |
|
197 | """Load the Jinja template object from the template file | |
|
198 | ||
|
199 | This is a no-op if the template attribute is already defined, | |
|
200 | or the Jinja environment is not setup yet. | |
|
201 | ||
|
202 | This is triggered by various trait changes that would change the template. | |
|
203 | """ | |
|
196 | 204 | if self.template is not None: |
|
197 | 205 | return |
|
198 | 206 | # called too early, do nothing |
General Comments 0
You need to be logged in to leave comments.
Login now