Skip to content

Commit

Permalink
revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Courtney Peverley committed Mar 4, 2024
1 parent 2a78b71 commit c767833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/host_cap.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def write_host_cap(host_model, api, module_name, output_dir, run_env):
# Look for any loop-variable mismatch
for suite in api.suites:
spart_list = suite_part_list(suite, stage)
for _, spart in sorted(enumerate(spart_list)):
for spart in spart_list:
spart_args = spart.call_list.variable_list()
for sp_var in spart_args:
stdname = sp_var.get_prop_value('standard_name')
Expand Down Expand Up @@ -530,7 +530,7 @@ def write_host_cap(host_model, api, module_name, output_dir, run_env):
for suite in api.suites:
mspc = (max_suite_len - len(suite.module))*' '
spart_list = suite_part_list(suite, stage)
for _, spart in sorted(enumerate(spart_list)):
for spart in spart_list:
stmt = "use {}, {}only: {}"
cap.write(stmt.format(suite.module, mspc, spart.name), 2)
# End for
Expand Down

0 comments on commit c767833

Please sign in to comment.