Skip to content

Commit

Permalink
Merge pull request #343 from pjpegion/prebuild_bugfix
Browse files Browse the repository at this point in the history
bug fix in ccpp_prebuild error checking
  • Loading branch information
climbfuji authored Dec 30, 2020
2 parents f1dc8d6 + e5a69bb commit d4d131d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ccpp_prebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def check_optional_arguments(metadata, arguments, optional_arguments):
for var_name in optional_arguments[scheme_name][subroutine_name]:
if not var_name in arguments[scheme_name][subroutine_name]:
raise Exception("Explicitly requested optional argument '{}' not known to {}/{}".format(
var_name, module_name, subroutine_name))
var_name, scheme_name, subroutine_name))
else:
for var in metadata[var_name][:]:
for item in var.container.split(' '):
Expand Down

0 comments on commit d4d131d

Please sign in to comment.