Skip to content

Commit

Permalink
Small fix on 0.5.2 🐹
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Oct 3, 2017
1 parent 89f7a10 commit 161d101
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HISTORY
Expand Up @@ -3,6 +3,10 @@ Changelog

These are all the changes in Dynaconf since the first public release.

0.5.2
-----
- Small fix on logger for yaml loader outputting as debug

0.5.1
-----
- Fixes on YAML and accepting `a.yml,b.yml,c.yml` as multiple filenames
Expand Down
4 changes: 3 additions & 1 deletion dynaconf/loaders/yaml_loader.py
Expand Up @@ -67,7 +67,9 @@ def load(obj, namespace=None, silent=True, key=None, filename=None):
except KeyError as e:
if silent:
if hasattr(obj, 'logger'):
obj.logger.error(str(e))
obj.logger.debug(
'%s namespace not defined in yaml source' % namespace
)
else:
raise KeyError(
'%s namespace not defined in %s' % (namespace, filename)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -31,7 +31,7 @@ def parse_md_to_rst(file):

setup(
name='dynaconf',
version="0.5.1",
version="0.5.2",
url='https://github.com/rochacbruno/dynaconf',
license='MIT',
author="Bruno Rocha",
Expand Down

0 comments on commit 161d101

Please sign in to comment.