Fix serialize function by using the right members name

pull/10721/head
Michael Scherer 10 years ago
parent 61379a609b
commit 72cf11f8e1

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

Loading…
Cancel
Save