Commit 1d780746 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

PropertyMap: fix pickle backwards compatibility

parent 91954a2d
...@@ -838,11 +838,11 @@ class PropertyMap(object): ...@@ -838,11 +838,11 @@ class PropertyMap(object):
def _get_data(self): def _get_data(self):
if self.key_type() == "v": if self.key_type() == "v":
return VertexPropertyMap._get_data(self, k) return VertexPropertyMap._get_data(self)
if self.key_type() == "e": if self.key_type() == "e":
return EdgePropertyMap._get_data(self, k) return EdgePropertyMap._get_data(self)
if self.key_type() == "g": if self.key_type() == "g":
return GraphPropertyMap._get_data(self, k) return GraphPropertyMap._get_data(self)
class VertexPropertyMap(PropertyMap): class VertexPropertyMap(PropertyMap):
......
Supports Markdown
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