[Zodb-checkins] CVS: Packages/ZEO - fap.py:1.5

jeremy@digicool.com jeremy@digicool.com
Fri, 6 Apr 2001 20:06:41 -0400 (EDT)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv23455

Modified Files:
	fap.py 
Log Message:
Make sure that Unpickler has a find_global attribute.



--- Updated File fap.py in package Packages/ZEO --
--- fap.py	2001/04/05 23:33:39	1.4
+++ fap.py	2001/04/07 00:06:40	1.5
@@ -145,6 +145,11 @@
         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():