From 4ff32af28902a133b30b07d5192a08438d78a3f4 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Mon, 7 May 2018 15:39:46 -0600 Subject: [PATCH] forgot to push to pr 2552 --- scripts/lib/CIME/XML/env_batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/CIME/XML/env_batch.py b/scripts/lib/CIME/XML/env_batch.py index 60e0c2332ca..38e4ff69201 100644 --- a/scripts/lib/CIME/XML/env_batch.py +++ b/scripts/lib/CIME/XML/env_batch.py @@ -271,9 +271,9 @@ def set_job_defaults(self, batch_jobs, case): queue = self.text(default_queue_node) walltime = self.get_queue_specs(queue)[3] + specs = self.get_queue_specs(queue) if walltime is None: # Figure out walltime - specs = self.get_queue_specs(queue) if specs is None: # Queue is unknown, use specs from default queue walltime = self.get(self.get_default_queue(), "walltimemax")