[Zodb-checkins] CVS: Zope/lib/python/BTrees - check.py:1.4

Tim Peters tim.one at comcast.net
Wed Jun 11 15:59:42 EDT 2003


Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv3437/lib/python/BTrees

Modified Files:
	check.py 
Log Message:
Don't even think about trying to import Zope3 versions of objects.


=== Zope/lib/python/BTrees/check.py 1.3 => 1.4 ===
--- Zope/lib/python/BTrees/check.py:1.3	Wed Jan 15 12:57:49 2003
+++ Zope/lib/python/BTrees/check.py	Wed Jun 11 14:59:42 2003
@@ -34,16 +34,10 @@
 
 from types import TupleType
 
-try:
-    from zodb.btrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
-    from zodb.btrees.OIBTree import OIBTree, OIBucket, OISet, OITreeSet
-    from zodb.btrees.IOBTree import IOBTree, IOBucket, IOSet, IOTreeSet
-    from zodb.btrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet
-except ImportError:
-    from BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
-    from BTrees.OIBTree import OIBTree, OIBucket, OISet, OITreeSet
-    from BTrees.IOBTree import IOBTree, IOBucket, IOSet, IOTreeSet
-    from BTrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet
+from BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
+from BTrees.OIBTree import OIBTree, OIBucket, OISet, OITreeSet
+from BTrees.IOBTree import IOBTree, IOBucket, IOSet, IOTreeSet
+from BTrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet
 
 TYPE_UNKNOWN, TYPE_BTREE, TYPE_BUCKET = range(3)
 




More information about the Zodb-checkins mailing list