ajout d'un commentaire lié au bug 251

This commit is contained in:
Guillaume Raffy 2012-08-24 09:04:42 +00:00
parent 36949c6c94
commit 4a74aa93a9
1 changed files with 1 additions and 1 deletions

View File

@ -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