From f0c029d6e7e5af02fcd23d086762f8cc09e03fc3 Mon Sep 17 00:00:00 2001 From: Freddy Tan Date: Sun, 20 Nov 2016 02:10:50 +0800 Subject: [PATCH 1/2] 1.update version 2.fix for python2 --- VERSION | 2 +- python_terraform/__init__.py | 3 +++ python_terraform/tfstate.py | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index da2ac9c..4d01880 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.5 \ No newline at end of file +0.7.6 \ No newline at end of file diff --git a/python_terraform/__init__.py b/python_terraform/__init__.py index 3a183e0..f7a7634 100644 --- a/python_terraform/__init__.py +++ b/python_terraform/__init__.py @@ -1,3 +1,6 @@ +# -*- coding: utf-8 -*- +# above is for compatibility of python2 + import subprocess import os import json diff --git a/python_terraform/tfstate.py b/python_terraform/tfstate.py index 81e26a5..b0e1408 100644 --- a/python_terraform/tfstate.py +++ b/python_terraform/tfstate.py @@ -1,3 +1,6 @@ +# -*- coding: utf-8 -*- +# above is for compatibility of python2 + import json import os import logging From a4b16b279126c773763b5e09f7b29d7f1d6be293 Mon Sep 17 00:00:00 2001 From: Freddy Tan Date: Sun, 20 Nov 2016 02:11:29 +0800 Subject: [PATCH 2/2] 1.update version 2.fix for python2 --- python_terraform/__init__.py | 2 +- python_terraform/tfstate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python_terraform/__init__.py b/python_terraform/__init__.py index f7a7634..9c7dfb1 100644 --- a/python_terraform/__init__.py +++ b/python_terraform/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# above is for compatibility of python2 +# above is for compatibility of python2.7.11 import subprocess import os diff --git a/python_terraform/tfstate.py b/python_terraform/tfstate.py index b0e1408..22e5c05 100644 --- a/python_terraform/tfstate.py +++ b/python_terraform/tfstate.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# above is for compatibility of python2 +# above is for compatibility of python2.7.11 import json import os