Merge pull request #20 from beelit94/python-terraform-10

add changelog handler
This commit is contained in:
beelit94 2017-08-28 11:46:39 -07:00 committed by GitHub
commit 4191b40cdc

View file

@ -10,7 +10,15 @@ import tempfile
from python_terraform.tfstate import Tfstate
try: # Python 2.7+
from logging import NullHandler
except ImportError:
class NullHandler(logging.Handler):
def emit(self, record):
pass
log = logging.getLogger(__name__)
log.addHandler(NullHandler())
class IsFlagged: