Commit 252f3583 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix deep copy of property maps

parent 0dde437d
......@@ -1721,7 +1721,10 @@ class Graph(object):
return self.copy()
def __deepcopy__(self, memo):
return self.copy()
g = self.copy()
for k, prop in [x for x in
if x[1].value_type == "python::object"]:[k] = copy.deepcopy(prop)
def __repr__(self):
# provide more useful information
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