[Zodb-checkins] CVS: Zope/lib/python/ZODB - StorageTypes.py:1.1.2.2

Chris McDonough chrism@zope.com
Mon, 25 Nov 2002 03:42:25 -0500


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

Modified Files:
      Tag: chrism-install-branch
	StorageTypes.py 
Log Message:
Make database sections work properly.


=== Zope/lib/python/ZODB/StorageTypes.py 1.1.2.1 => 1.1.2.2 ===
--- Zope/lib/python/ZODB/StorageTypes.py:1.1.2.1	Sun Nov 24 19:10:13 2002
+++ Zope/lib/python/ZODB/StorageTypes.py	Mon Nov 25 03:42:24 2002
@@ -43,6 +43,9 @@
         if kw.has_key(name):
             kw[name] = asBoolean(kw[name])
 
+    if not kw.has_key('file_name'):
+        raise RuntimeError, 'A file_name argument is required for FileStorage'
+
     return kw