From 0750370553c3ce40fdd5e88d9616ddb0fbeedbc1 Mon Sep 17 00:00:00 2001 From: "vladimir.p" Date: Fri, 22 Jul 2011 15:22:05 -0700 Subject: pep8-compliant. Prior to merge with 1305 --- nova/volume/manager.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nova/volume/manager.py b/nova/volume/manager.py index d2c36e96f..348dab782 100644 --- a/nova/volume/manager.py +++ b/nova/volume/manager.py @@ -291,15 +291,16 @@ class VolumeManager(manager.SchedulerDependentManager): if volume_stats: LOG.info(_("Checking volume capabilities")) - if self._volume_stats_changed(self._last_volume_stats, volume_stats): - + if self._volume_stats_changed(self._last_volume_stats, + volume_stats): LOG.info(_("New capabilities found: %s"), volume_stats) self._last_volume_stats = volume_stats - + # This will grab info about the host and queue it # to be sent to the Schedulers. self.update_service_capabilities(self._last_volume_stats) else: + # avoid repeating fanouts self.update_service_capabilities(None) def notification(self, context, event): -- cgit