From 2f9ea624de5de78502d582fd307ceae43b75299a Mon Sep 17 00:00:00 2001 From: Peter Razumovsky Date: Tue, 22 Sep 2015 10:00:50 +0300 Subject: [PATCH] Fix [H405] pep rule in bin Implements bp docstring-improvements Change-Id: If2daff413814fe0a7b5d5fbc4e2262b06aa90c5e --- bin/heat-api | 9 +++++---- bin/heat-api-cfn | 13 +++++++------ bin/heat-api-cloudwatch | 13 +++++++------ bin/heat-engine | 13 +++++++------ 4 files changed, 26 insertions(+), 22 deletions(-) diff --git a/bin/heat-api b/bin/heat-api index c1ce491a42..f08228f137 100755 --- a/bin/heat-api +++ b/bin/heat-api @@ -13,15 +13,16 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Heat API Server. + +An OpenStack REST API to Heat. +""" + import warnings warnings.warn("DEPRECATED: This script is deprecated. Please use the " "system level heat binaries installed to start " "any of the heat services.", DeprecationWarning) -""" -Heat API Server. An OpenStack REST API to Heat. -""" - import os import sys diff --git a/bin/heat-api-cfn b/bin/heat-api-cfn index bcf2151125..8e6571c680 100755 --- a/bin/heat-api-cfn +++ b/bin/heat-api-cfn @@ -13,17 +13,18 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Heat CFN API Server. + +This implements an approximation of the Amazon CloudFormation API and +translates it into a native representation. It then calls the heat-engine via +AMQP RPC to implement them. +""" + import warnings warnings.warn("DEPRECATED: This script is deprecated. Please use the " "system level heat binaries installed to start " "any of the heat services.", DeprecationWarning) -""" -Heat API Server. This implements an approximation of the Amazon -CloudFormation API and translates it into a native representation. It then -calls the heat-engine via AMQP RPC to implement them. -""" - import os import sys diff --git a/bin/heat-api-cloudwatch b/bin/heat-api-cloudwatch index 8f84d0ab0a..2cd5dcaf0e 100755 --- a/bin/heat-api-cloudwatch +++ b/bin/heat-api-cloudwatch @@ -13,17 +13,18 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Heat cloudwatch API Server. + +This implements an approximation of the Amazon CloudWatch API and translates it +into a native representation. It then calls the heat-engine via AMQP RPC to +implement them. +""" + import warnings warnings.warn("DEPRECATED: This script is deprecated. Please use the " "system level heat binaries installed to start " "any of the heat services.", DeprecationWarning) -""" -Heat API Server. This implements an approximation of the Amazon -CloudWatch API and translates it into a native representation. It then -calls the heat-engine via AMQP RPC to implement them. -""" - import os import sys diff --git a/bin/heat-engine b/bin/heat-engine index 5ec8a0dbc4..9f1c577c86 100755 --- a/bin/heat-engine +++ b/bin/heat-engine @@ -13,17 +13,18 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Heat Engine Server. + +This does the work of actually implementing the API calls made by the user. +Normal communications is done via the heat API which then calls into this +engine. +""" + import warnings warnings.warn("DEPRECATED: This script is deprecated. Please use the " "system level heat binaries installed to start " "any of the heat services.", DeprecationWarning) -""" -Heat Engine Server. This does the work of actually implementing the API -calls made by the user. Normal communications is done via the heat API -which then calls into this engine. -""" - import os import sys