[Zope-CVS] CVS: Products/DBTab - StorageTypes.py:1.2 dbtab.conf.in:1.2
Shane Hathaway
shane@zope.com
Sat, 19 Oct 2002 21:39:39 -0400
Update of /cvs-repository/Products/DBTab
In directory cvs.zope.org:/tmp/cvs-serv12866
Modified Files:
StorageTypes.py dbtab.conf.in
Log Message:
Added support for the read_only_fallback ClientStorage argument.
=== Products/DBTab/StorageTypes.py 1.1.1.1 => 1.2 ===
--- Products/DBTab/StorageTypes.py:1.1.1.1 Tue Oct 15 13:49:19 2002
+++ Products/DBTab/StorageTypes.py Sat Oct 19 21:39:39 2002
@@ -93,7 +93,7 @@
# Boolean args
for name in (
- 'wait', 'read_only'
+ 'wait', 'read_only', 'read_only_fallback',
):
if kw.has_key(name):
kw[name] = asBoolean(kw[name])
=== Products/DBTab/dbtab.conf.in 1.1.1.1 => 1.2 ===
--- Products/DBTab/dbtab.conf.in:1.1.1.1 Tue Oct 15 13:49:20 2002
+++ Products/DBTab/dbtab.conf.in Sat Oct 19 21:39:39 2002
@@ -414,6 +414,13 @@
# read_only=0
+## 'read_only_fallback' is a flag indicating whether a read-only
+## remote storage should be acceptable as a fallback when no writable
+## storages are available. Defaults to false. At most one of
+## read_only and read_only_fallback should be true.
+
+# read_only_fallback=0
+
######################################################################
##