This commit is contained in:
Freddy Tan 2016-05-24 11:43:12 +08:00
parent d4257ea870
commit 4552a28f8e

View file

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