Skip to content

Commit d9ddbc1

Browse files
author
F Saad
committed
Remove inactive for-else (no break statement).
1 parent 779b14a commit d9ddbc1

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/metamodels/cgpm_metamodel.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -739,14 +739,13 @@ def _retrieve_stattype_dist_params(var):
739739
_, dist, params = _retrieve_stattype_dist_params(var)
740740
cctypes.append(dist)
741741
ccargs.append(params)
742-
else:
743-
# Finally, add a cgpm_composition record.
744-
cgpm_composition.append({
745-
'name': name,
746-
'inputs': inputs,
747-
'outputs': outputs,
748-
'kwds': kwds,
749-
})
742+
# Finally, add a cgpm_composition record.
743+
cgpm_composition.append({
744+
'name': name,
745+
'inputs': inputs,
746+
'outputs': outputs,
747+
'kwds': kwds,
748+
})
750749

751750
elif isinstance(clause, cgpm_schema.parse.Subsample):
752751
if subsample is not None:

0 commit comments

Comments
 (0)