terraform.py: drop deprecated encoding argument from json.loads

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-11-02 15:32:57 +01:00
parent b1753837d5
commit c7d1db5ced
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ def _execute_shell():
sys.stderr.write(str(err_cmd)+'\n') sys.stderr.write(str(err_cmd)+'\n')
sys.exit(1) sys.exit(1)
else: else:
return json.loads(out_cmd, encoding=encoding) return json.loads(out_cmd)
def _backup_tf(tfstate): def _backup_tf(tfstate):