Skip to content

Commit

Permalink
make a little nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
adrifoster committed Aug 21, 2023
1 parent c4a200b commit 8b7bb12
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 @@ -177,8 +177,8 @@ def buildlib(bldroot, libroot, case):
if compiler == "gnu" and case.get_value("DEBUG"):
# Do not allow any warnings except from fox external
nextline = ""
for line in e.split("\n"):
if "f90" in line.lower() and not "fox" in line.lower():
for line in e.split("\n").lower():
if "f90" in line and not "fox" in line:
nextline = nextline + line
if len(nextline) > 0:
expect(False, nextline)
Expand Down

0 comments on commit 8b7bb12

Please sign in to comment.