[Zope-Checkins] CVS: ZODB3/ZEO - runsvr.py:1.15

Guido van Rossum guido@python.org
Mon, 25 Nov 2002 12:17:05 -0500


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv20965

Modified Files:
	runsvr.py 
Log Message:
Move the import ZODB.StorageConfig inside load_storage(), so ZODB
isn't imported by this module unless needed.


=== ZODB3/ZEO/runsvr.py 1.14 => 1.15 ===
--- ZODB3/ZEO/runsvr.py:1.14	Sat Nov 23 01:42:17 2002
+++ ZODB3/ZEO/runsvr.py	Mon Nov 25 12:17:05 2002
@@ -43,8 +43,6 @@
 import ZConfig
 import ZConfig.Common
 
-import ZODB.StorageConfig
-
 
 class Options:
 
@@ -273,6 +271,7 @@
             return
         storagesections = self.zeoconf.getChildSections("Storage")
         self.storages = {}
+        import ZODB.StorageConfig
         for section in storagesections:
             name = section.name
             if not name: