##// END OF EJS Templates
Fixed: getattr does not work on dictionaries....
Jonathan Frederic -
Show More
@@ -154,7 +154,7 b' class ConverterTemplate(Configurable):'
154
154
155 for name in self.pre_transformer_order:
155 for name in self.pre_transformer_order:
156 # get the user-defined transformer first
156 # get the user-defined transformer first
157 transformer = getattr(preprocessors, name, getattr(trans, name, None))
157 transformer = preprocessors.get(name, getattr(trans, name, None))
158 if isinstance(transformer, MetaHasTraits):
158 if isinstance(transformer, MetaHasTraits):
159 transformer = transformer(config=config)
159 transformer = transformer(config=config)
160 self.preprocessors.append(transformer)
160 self.preprocessors.append(transformer)
General Comments 0
You need to be logged in to leave comments. Login now