Fix typo errors in comments for api modules

Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com>

Change-Id: I55327c2e7d44d01c8bc832c1a5228a6b3dc3184f
Closes-Bug: #1268253
This commit is contained in:
keshy 2014-01-11 20:19:58 -08:00 committed by lin-hua-cheng
parent b5038ee423
commit aed603d618
2 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ class QuotaSet(Sequence):
into Quota objects for easier handling/iteration.
`QuotaSet` objects support a mix of `list` and `dict` methods; you can use
the bracket notiation (`qs["my_quota"] = 0`) to add new quota values, and
the bracket notation (`qs["my_quota"] = 0`) to add new quota values, and
use the `get` method to retrieve a specific quota, but otherwise it
behaves much like a list or tuple, particularly in supporting iteration.
"""

View File

@ -443,8 +443,8 @@ class CeilometerUsage(object):
def preload_all_tenants(self):
"""Preloads all tenants into dictionary.
It's more effective to preload all tenants, rather than fetching many
tenants by separate API get calls.
It's more effective to preload all tenants, rather than fetching each
tenant by separate API get calls.
"""
tenants, more = keystone.tenant_list(self._request)