[Zodb-checkins] CVS: ZODB3/BTrees - __init__.py:1.5.150.1
Jeremy Hylton
jeremy at zope.com
Tue Jul 1 20:14:44 EDT 2003
Update of /cvs-repository/ZODB3/BTrees
In directory cvs.zope.org:/tmp/cvs-serv4414/BTrees
Modified Files:
Tag: zodb33-devel-branch
__init__.py
Log Message:
Don't import ZODB in the __init__.
I think this was only necessary to materialize the virtual Persistence
package.
=== ZODB3/BTrees/__init__.py 1.5 => 1.5.150.1 ===
--- ZODB3/BTrees/__init__.py:1.5 Thu Feb 21 16:41:17 2002
+++ ZODB3/BTrees/__init__.py Tue Jul 1 19:14:44 2003
@@ -1,12 +1,15 @@
-import ZODB
-
-try: import intSet
-except: pass
-else: del intSet
+try:
+ import intSet
+except:
+ pass
+else:
+ del intSet
# Register interfaces
-try: import Interface
-except ImportError: pass # Don't register interfaces if no scarecrow
+try:
+ import Interface
+except ImportError:
+ pass # Don't register interfaces if no scarecrow
else:
import Interfaces
del Interfaces
More information about the Zodb-checkins
mailing list