Fixes some current typo errors on namos project.

Change-Id: I32b37fe9b921a289a4627befa06bc0dfac43d3d5
This commit is contained in:
Dung Ha 2017-01-25 22:58:44 +07:00
parent 4cb9e19120
commit 31a5c8d297
4 changed files with 4 additions and 4 deletions

View File

@ -420,7 +420,7 @@ def _append_opts_json(f, group, namespaces):
def _get_group_name(item):
group = item[0]
# The keys of the groups dictionary could be an OptGroup. Otherwise the
# The keys of the groups dictionary could be an OptGroup. Otherwise, the
# help text of an OptGroup wouldn't be part of the generated sample
# file. It could also be just a plain group name without any further
# attributes. That's the reason why we have to differentiate here.

View File

@ -321,7 +321,7 @@ class ConductorManager(object):
@request_context
def config_schema(self, context, project, with_file_link=False):
# provide the manage oslo_config_schema --gen
# provide to manage oslo_config_schema --gen
file_schema = dict()
for cfg_s in db_api.config_schema_get_all_by(context, project=project):
if cfg_s.file_name not in file_schema:

View File

@ -58,7 +58,7 @@ def create_schema(config=None, engine=None):
# Following commands are alembic commands
def _alembic_config():
# TODO(kanagaraj-manickam): It is an hack to use database.connection
# TODO(kanagaraj-manickam): It is a hack to use database.connection
# for all alembic related commands
path = os.path.join(os.path.dirname(__file__), 'alembic.ini')

View File

@ -101,7 +101,7 @@ class Region(BASE,
Extra):
__tablename__ = 'region'
# Its of type String to match with keystone region id
# It's of type String to match with keystone region id
# TODO(mrkanag) make this as non nullable
keystone_region_id = sqlalchemy.Column(
sqlalchemy.String(255),