Commit 40a5b9fe authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix dir json print out problem

parent 76e64385
Pipeline #354779 passed with stage
in 13 seconds
......@@ -515,9 +515,7 @@ def to_dir_json(self):
for key in self.features.keys():
feature_entry = {
"association": "features",
"target": {
"class": self.features[key].class_name,
"target": self.features[key].to_json()
# if the feature has targets, like ml40::Composite
if hasattr(self.features[key], 'targets'):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment