Replace deprecated warn with warning

This commit is contained in:
noname 2019-10-10 14:00:18 +03:00
parent 89914bbbd8
commit 7c4ac21fb3

View file

@ -314,7 +314,7 @@ class Terraform(object):
if ret_code == 0: if ret_code == 0:
self.read_state_file() self.read_state_file()
else: else:
log.warn('error: {e}'.format(e=err)) log.warning('error: {e}'.format(e=err))
self.temp_var_files.clean_up() self.temp_var_files.clean_up()
if capture_output is True: if capture_output is True: