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

Merge pull request #10721 from mscherer/fix_role_metadata

Fix serialize function by using the right members name
This commit is contained in:
Toshio Kuratomi 2015-04-15 09:15:05 -07:00
commit 1afd24ae9f

View file

@ -82,8 +82,8 @@ class RoleMetadata(Base):
def serialize(self): def serialize(self):
return dict( return dict(
allow_duplicates = self.allow_duplicates, allow_duplicates = self._allow_duplicates,
dependencies = self.dependencies, dependencies = self._dependencies,
) )
def deserialize(self, data): def deserialize(self, data):