Update __init__.py

This commit is contained in:
caixisheng 2019-10-26 15:00:53 +08:00 committed by GitHub
parent 3efa8b2f65
commit 6da2d853fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ class Terraform(object):
cmd_name = str(item) cmd_name = str(item)
if cmd_name.endswith('_cmd'): if cmd_name.endswith('_cmd'):
cmd_name = cmd_name[:-4] cmd_name = cmd_name[:-4]
logging.debug('called with %r and %r' % (args, kwargs)) log.debug('called with %r and %r' % (args, kwargs))
return self.cmd(cmd_name, *args, **kwargs) return self.cmd(cmd_name, *args, **kwargs)
return wrapper return wrapper