From 4a74aa93a98ade3f4fcb043ca528abdef2956a1e Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Fri, 24 Aug 2012 09:04:42 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20d'un=20commentaire=20li=C3=A9=20au=20bu?= =?UTF-8?q?g=20251?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ClusterController/ClusterStatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClusterController/ClusterStatus.py b/ClusterController/ClusterStatus.py index 4cc60f9..b300eac 100644 --- a/ClusterController/ClusterStatus.py +++ b/ClusterController/ClusterStatus.py @@ -138,7 +138,7 @@ class ClusterStatus: """ fEnergyConsumption = 0.0 for machine in self.m_clusterNodes.itervalues(): - if machine.isReady(): + if machine.isReady(): # there are cases where the machine is not ready yet (for example, it's just been added to clustercontroller's control) fEnergyConsumption += machine.getEnergyConsumption() return fEnergyConsumption