Commit 2ce4cc1a authored by Jeremy Hylton's avatar Jeremy Hylton

Make sure that Unpickler has a find_global attribute.

parent 46484514
......@@ -145,6 +145,11 @@ def fap():
p.fast=1
except:
raise ImportError, 'Cannot import an up-to-date cPickle'
p=cPickle.Unpickler(cStringIO.StringIO())
try:
p.find_global=1
except:
raise ImportError, 'Cannot import an up-to-date cPickle'
def package_home():
......
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