Merge pull request #69 from xishengcai/patch-1

fixing miss use of calling log object
This commit is contained in:
beelit94 2019-10-26 10:58:33 -07:00 committed by GitHub
commit bda8b97e59
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