Change spelling mistakes

Change-Id: I2439ce264bd9a8566a2b88c1d8af5d3537814ecc
This commit is contained in:
sanuptpm 2014-07-31 19:54:24 +05:30
parent 6f2a20d57b
commit 424e9b35fe
2 changed files with 2 additions and 2 deletions

View File

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

View File

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