From a101742d292f04f1f38c08396070fe33334cef05 Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Tue, 8 Jan 2019 11:08:25 +0100 Subject: [PATCH] Fix bugs in variable naming --- reframe/core/schedulers/slurm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reframe/core/schedulers/slurm.py b/reframe/core/schedulers/slurm.py index 2cfe8ce96c..50eaf2d0b1 100644 --- a/reframe/core/schedulers/slurm.py +++ b/reframe/core/schedulers/slurm.py @@ -294,12 +294,12 @@ def _check_and_cancel(self, reason_descr): if reason in self._cancel_reasons: if reason == 'ReqNodeNotAvail' and reason_details: - nodes_match = re.match( + node_match = re.match( r'UnavailableNodes:(?P\S+)?', reason_details.strip()) - if nodes_match: + if node_match: node_names = node_match['node_names'] - if nodes_names: + if node_names: # Retrieve the info of the unavailable nodes # and check if they are indeed down nodes = self._get_nodes_by_name(node_names)