correction du bug 251 (je me demande pourquoi ce problème n'est pas apparu avant)

This commit is contained in:
Guillaume Raffy 2012-08-22 12:34:22 +00:00
parent 47b86312a6
commit 36949c6c94
1 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,7 @@ class ClusterStatus:
"""
fEnergyConsumption = 0.0
for machine in self.m_clusterNodes.itervalues():
if machine.isReady():
fEnergyConsumption += machine.getEnergyConsumption()
return fEnergyConsumption