diff --git a/setup.py b/setup.py index 49af9e4..dc3fabc 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setuptools.setup( name='yamb', - version='0.1.1', + version='0.1.2', license='Apache License, Version 2.0', author="Ivan Kalinin", author_email="pupssman@yandex-team.ru", diff --git a/yamb/__init__.py b/yamb/__init__.py index cc04eaa..eb1c1e7 100644 --- a/yamb/__init__.py +++ b/yamb/__init__.py @@ -129,10 +129,10 @@ def _load(cls, document, top=True): return cls._load(doc, top=False) return cls(_data=document) - def _dump(self, top=True): + def _dump(self, top=True, **kw): if top: doc = self._dump(top=False) - return yaml.dump(doc) + return yaml.dump(doc, **kw) else: return self._data