From 686e85476c371e2bfaa4718b37b81b15747eadd4 Mon Sep 17 00:00:00 2001 From: chenaidong1 Date: Thu, 24 Nov 2016 10:55:33 +0800 Subject: [PATCH] Fix syntax errors of the comments Change-Id: Id6eadb991b2d0ad7a8416b1137767b251d4a23d7 --- murano/db/models.py | 4 ++-- murano/db/services/environment_templates.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/murano/db/models.py b/murano/db/models.py index 1b82d3e0..a5a3592c 100644 --- a/murano/db/models.py +++ b/murano/db/models.py @@ -55,7 +55,7 @@ Base = declarative.declarative_base(cls=_MuranoBase) class Environment(Base, TimestampMixin): - """Represents a Environment in the metadata-store.""" + """Represents an Environment in the metadata-store.""" __tablename__ = 'environment' __table_args__ = (sa.Index( 'ix_name_tenant_id', 'name', 'tenant_id', unique=True),) @@ -89,7 +89,7 @@ class Environment(Base, TimestampMixin): class EnvironmentTemplate(Base, TimestampMixin): - """Represents a Environment Template in the metadata-store.""" + """Represents an Environment Template in the metadata-store.""" __tablename__ = 'environment-template' id = sa.Column(sa.String(36), diff --git a/murano/db/services/environment_templates.py b/murano/db/services/environment_templates.py index f6fc2732..502411cb 100644 --- a/murano/db/services/environment_templates.py +++ b/murano/db/services/environment_templates.py @@ -107,7 +107,7 @@ class EnvTemplateServices(object): @staticmethod def update(env_template_id, body): - """It updates the description of a environment template. + """It updates the description of an environment template. :param env_template_id: Template Id to be deleted. :param body: The description to be updated.