Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Aug 16, 2016
1 parent 518552b commit b78608a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/python/CIME/XML/env_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ def get_submit_args(self, case, job):
if name is None:
submitargs+=" %s"%flag
else:
if name.startswith("$"):
name = name[:1]
val = case.get_value(name,subgroup=job)
if val is None:
val = case.get_resolved_value(name)
Expand Down Expand Up @@ -479,7 +481,7 @@ def select_best_queue(self, num_pes, job=None):
return queue.text
# if the fullsum is between the min and max # jobs, then use this queue.
elif jobmin is not None and jobmax is not None and num_pes >= int(jobmin) and num_pes <= int(jobmax):
return queue.text
return queue.text
return None

def get_max_walltime(self, queue):
Expand Down

0 comments on commit b78608a

Please sign in to comment.