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