Refactor: Remove useless for and add (#11720)
### What problem does this PR solve? Remove useless for and add ### Type of change - [x] Refactoring
This commit is contained in:
parent
3c224c817b
commit
b1f3130519
1 changed files with 0 additions and 3 deletions
|
|
@ -91,9 +91,6 @@ class Graph:
|
|||
def load(self):
|
||||
self.components = self.dsl["components"]
|
||||
cpn_nms = set([])
|
||||
for k, cpn in self.components.items():
|
||||
cpn_nms.add(cpn["obj"]["component_name"])
|
||||
|
||||
for k, cpn in self.components.items():
|
||||
cpn_nms.add(cpn["obj"]["component_name"])
|
||||
param = component_class(cpn["obj"]["component_name"] + "Param")()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue