Commit 72cf11f8 by Michael Scherer

Fix serialize function by using the right members name

parent 61379a60
......@@ -82,8 +82,8 @@ class RoleMetadata(Base):
def serialize(self):
return dict(
allow_duplicates = self.allow_duplicates,
dependencies = self.dependencies,
allow_duplicates = self._allow_duplicates,
dependencies = self._dependencies,
)
def deserialize(self, data):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment