[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/__init__.py Made the server function a tad more convenient by falling back to a

Jim Fulton jim at zope.com
Mon Apr 19 17:57:19 EDT 2010


Log message for revision 111150:
  Made the server function a tad more convenient by falling back to a
  mapping storage when none is given.
  

Changed:
  U   ZODB/trunk/src/ZEO/__init__.py

-=-
Modified: ZODB/trunk/src/ZEO/__init__.py
===================================================================
--- ZODB/trunk/src/ZEO/__init__.py	2010-04-19 21:56:36 UTC (rev 111149)
+++ ZODB/trunk/src/ZEO/__init__.py	2010-04-19 21:57:19 UTC (rev 111150)
@@ -76,7 +76,7 @@
     """
     import os, ZEO.tests.forker
     if storage_conf is None and path is None:
-        raise TypeError("You must specify either a storage_conf or file path.")
+        storage_conf = '<mappingstorage>\n</mappingstorage>'
     if port is None and zeo_conf is None:
         port = ZEO.tests.forker.get_port()
 



More information about the Zodb-checkins mailing list