Commit 505e795f authored by Tiago Peixoto's avatar Tiago Peixoto

Use highest protocol when pickling internal property maps

This fixes ticket:73
parent 510c25b4
......@@ -59,7 +59,7 @@ libgraph_tool_core.OStream.write = OStream_write
# define and set the pickler/unpickler functions
def pickler(stream, obj):
sstream = StringIO()
pickle.dump(obj, sstream)
pickle.dump(obj, sstream, -1)
stream.write(base64.b64encode(sstream.getvalue()))
......
Markdown is supported
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