Skip to content

Commit

Permalink
fix an error
Browse files Browse the repository at this point in the history
  • Loading branch information
boulderdaze committed Feb 20, 2025
1 parent 0ea6fca commit 2adcbf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cime_config/buildlib
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ def _build_cam():
if case.get_value("COMP_INTERFACE") == "nuopc":
paths.append(os.path.join(__CIMEROOT, "src", "drivers",
"nuopc", "nuopc_cap_share"))
# End with
# End if

# Write Filepath text file
with open(filepath_src, "w", encoding='utf-8') as filepath:
filepath.write("\n".join(paths))
filepath.write("\n")
# End if
# End with

# Move Filepath to the bld directory unless it has not changed
if os.path.isfile(filepath_dst):
Expand Down

0 comments on commit 2adcbf6

Please sign in to comment.