Fix serialize function by using the right members name

This commit is contained in:
Michael Scherer 2015-04-15 00:59:39 -04:00
parent 61379a609b
commit 72cf11f8e1

View file

@ -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):