1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Don't mix tabs and spaces

It's not allowed in Python 3 and merely a bad idea in Python 2.
This commit is contained in:
Marius Gedminas 2015-08-27 09:18:04 +03:00
parent 0c6ce31f76
commit 47b088504d

View file

@ -370,7 +370,7 @@ class Role(Base, Become, Conditional, Taggable):
def deserialize(self, data, include_deps=True): def deserialize(self, data, include_deps=True):
self._role_name = data.get('_role_name', '') self._role_name = data.get('_role_name', '')
self._role_path = data.get('_role_path', '') self._role_path = data.get('_role_path', '')
self._role_vars = data.get('_role_vars', dict()) self._role_vars = data.get('_role_vars', dict())
self._role_params = data.get('_role_params', dict()) self._role_params = data.get('_role_params', dict())
self._default_vars = data.get('_default_vars', dict()) self._default_vars = data.get('_default_vars', dict())
self._had_task_run = data.get('_had_task_run', dict()) self._had_task_run = data.get('_had_task_run', dict())