summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/heat/template.py
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2017-01-10 19:42:20 +0800
committerAce Lee <liyin11@huawei.com>2017-01-12 08:38:10 +0000
commit08b12e7a7f0b5971282c371b0d0b9320030f3874 (patch)
treeb16cabd80530ddebe5509d244ed1a6ce0e506001 /utils/infra_setup/heat/template.py
parent90aee324d326a25ba79b83bf8aceb3bcf3feea9b (diff)
Modify utils/ code into PEP8 style
JIRA: BOTTLENECK-100 Modify all the code in the utils folder into PEP8 style. Using more standard way to realize our function. Change-Id: I965c507390adcb4404d33710f783b22241542890 Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'utils/infra_setup/heat/template.py')
-rwxr-xr-xutils/infra_setup/heat/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/infra_setup/heat/template.py b/utils/infra_setup/heat/template.py
index 28c20b72..cc652fb4 100755
--- a/utils/infra_setup/heat/template.py
+++ b/utils/infra_setup/heat/template.py
@@ -114,9 +114,9 @@ class HeatStack(HeatObject):
i += 1
if self.uuid is not None:
- sys.exit("delete stack failed!!!")
+ sys.exit("delete stack failed!!!")
else:
- HeatStack.stacks.remove(self)
+ HeatStack.stacks.remove(self)
@staticmethod
def delete_all():