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