diff --git a/CHANGES.md b/CHANGES.md index 98f1b97..ca5a6fa 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Changelog +## 0.8.2 +- Bug fix release to allow empty stack configs again + ## 0.8.1 - Work around for bug in Go AWS SDK to pick up cli credentials, see https://github.com/aws/aws-sdk-go/issues/934 diff --git a/cloudbender/__init__.py b/cloudbender/__init__.py index 103f377..607a825 100644 --- a/cloudbender/__init__.py +++ b/cloudbender/__init__.py @@ -2,7 +2,7 @@ import logging __author__ = "Stefan Reimer" __email__ = "stefan@zero-downtimet.net" -__version__ = "0.8.1" +__version__ = "0.8.2" # Set up logging to ``/dev/null`` like a library is supposed to. diff --git a/cloudbender/jinja.py b/cloudbender/jinja.py index b820de7..14c764e 100644 --- a/cloudbender/jinja.py +++ b/cloudbender/jinja.py @@ -240,7 +240,7 @@ def _sops_loader(path): config_raw = f.read() data = yaml.safe_load(config_raw) - if 'sops' in data: + if data and 'sops' in data: try: result = subprocess.run([ 'sops',