Skip to content

Commit

Permalink
another py3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Oct 10, 2017
1 parent 05e82c3 commit 6355cd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/lib/CIME/XML/env_mach_pes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def get_value(self, vid, attribute=None, resolved=True, subgroup=None, MAX_MPITA
if vid == "NINST_MAX":
value = 1
for comp in self._components:
value = max(value, self.get_value("NINST_{}".format(comp)))
if comp != "CPL":
value = max(value, self.get_value("NINST_{}".format(comp)))
return value

value = EnvBase.get_value(self, vid, attribute, resolved, subgroup)
Expand Down

0 comments on commit 6355cd8

Please sign in to comment.