summaryrefslogtreecommitdiffstats
path: root/nova/cells
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-06-13 05:35:00 +0000
committerGerrit Code Review <review@openstack.org>2013-06-13 05:35:00 +0000
commit992e75aaa1321fec212ca87f7bf263873d94d80c (patch)
treef2f5c40fdc909bc5bf3bad958d44bac30108fe11 /nova/cells
parent53f62b33caa71de1da3163e0f835e39ea7a64ee8 (diff)
parent1bf87dda57b076e042301eeafa966283265d08cf (diff)
Merge "Fix and enable H403 tests"
Diffstat (limited to 'nova/cells')
-rw-r--r--nova/cells/weights/mute_child.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/cells/weights/mute_child.py b/nova/cells/weights/mute_child.py
index b8fd0570b..0f6fb0bbb 100644
--- a/nova/cells/weights/mute_child.py
+++ b/nova/cells/weights/mute_child.py
@@ -58,7 +58,8 @@ class MuteChildWeigher(weights.BaseCellWeigher):
def _weigh_object(self, cell, weight_properties):
"""Check cell against the last_seen timestamp that indicates the time
that the most recent capability or capacity update was received from
- the given cell."""
+ the given cell.
+ """
last_seen = cell.last_seen
secs = CONF.cells.mute_child_interval