Merge "Fix a couple typos to make it easier to read."

This commit is contained in:
Jenkins 2015-03-19 11:13:43 +00:00 committed by Gerrit Code Review
commit e5417024c4
2 changed files with 2 additions and 2 deletions
oslo_messaging

@ -668,7 +668,7 @@ class Connection(object):
def _consume():
# NOTE(sileht):
# maximun value choosen according the best practice from kombu:
# maximum value chosen according the best practice from kombu:
# http://kombu.readthedocs.org/en/latest/reference/kombu.common.html#kombu.common.eventloop
poll_timeout = 1 if timeout is None else min(timeout, 1)

@ -61,7 +61,7 @@ class TimerTestCase(test_utils.BaseTestCase):
remaining = t.check_return()
self.assertEqual(None, remaining)
def test_no_duration_but_maximun(self):
def test_no_duration_but_maximum(self):
t = common.DecayingTimer()
t.start()
remaining = t.check_return(maximum=2)