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

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20100419215719.DF8BE9418C__6672.68422334946$1271714249$gmane$org@cvs.zope.org>
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()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.