From 424e9b35fefa11f125103273224cff067e16643f Mon Sep 17 00:00:00 2001 From: sanuptpm Date: Thu, 31 Jul 2014 19:54:24 +0530 Subject: [PATCH] Change spelling mistakes Change-Id: I2439ce264bd9a8566a2b88c1d8af5d3537814ecc --- ceilometer/hardware/notifications/ipmi.py | 2 +- ceilometer/storage/impl_sqlalchemy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ceilometer/hardware/notifications/ipmi.py b/ceilometer/hardware/notifications/ipmi.py index 35fc7520d..87adaa81f 100644 --- a/ceilometer/hardware/notifications/ipmi.py +++ b/ceilometer/hardware/notifications/ipmi.py @@ -64,7 +64,7 @@ class SensorNotification(plugin.NotificationBase): @staticmethod def get_targets(conf): - """oslo.messaging.TargetS for this this plugin.""" + """oslo.messaging.TargetS for this plugin.""" return [messaging.Target(topic=topic, exchange=conf.ironic_exchange) for topic in conf.notification_topics] diff --git a/ceilometer/storage/impl_sqlalchemy.py b/ceilometer/storage/impl_sqlalchemy.py index c951b9a48..43800274b 100644 --- a/ceilometer/storage/impl_sqlalchemy.py +++ b/ceilometer/storage/impl_sqlalchemy.py @@ -308,7 +308,7 @@ class Connection(base.Connection): .delete()) rows = sample_q.delete() - # remove Meter defintions with no matching samples + # remove Meter definitions with no matching samples (session.query(models.Meter) .filter(~models.Meter.samples.any()) .delete(synchronize_session='fetch'))