From 7c4ac21fb3f0c42bb52b4b11eb1ef824df8ec08e Mon Sep 17 00:00:00 2001 From: noname Date: Thu, 10 Oct 2019 14:00:18 +0300 Subject: [PATCH] Replace deprecated warn with warning --- python_terraform/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_terraform/__init__.py b/python_terraform/__init__.py index 4bb83d7..3bf45ea 100644 --- a/python_terraform/__init__.py +++ b/python_terraform/__init__.py @@ -314,7 +314,7 @@ class Terraform(object): if ret_code == 0: self.read_state_file() else: - log.warn('error: {e}'.format(e=err)) + log.warning('error: {e}'.format(e=err)) self.temp_var_files.clean_up() if capture_output is True: