Merge branch 'release/0.0.3'

This commit is contained in:
Freddy Tan 2016-05-24 11:11:33 +08:00
commit 08f59e9482

View file

@ -39,7 +39,10 @@ class Terraform:
def _gen_param_string(self, kargs):
params = []
for key, value in kargs.items():
params += ['%s=%s' % (key, value)]
if not value:
params += ['-%s=%s' % (key, value)]
else:
params += ['-%s' % key]
return params
def _run_cmd(self, cmd):