Commit 783af1a9 authored by Luke Campagnola's avatar Luke Campagnola
Browse files

fix for python 2.6 compatibility

parent 9c70d948
......@@ -436,7 +436,7 @@ class MeshData(object):
elif self._faceColorsIndexedByFaces is not None:
names.append('_faceColorsIndexedByFaces')
state = {n:getattr(self, n) for n in names}
state = dict([(n,getattr(self, n)) for n in names])
return pickle.dumps(state)
def restore(self, state):
......
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