[Zope-CVS] CVS: Products/DBTab - StorageTypes.py:1.3 dbtab.conf.in:1.3
Shane Hathaway
shane@zope.com
Tue, 29 Oct 2002 13:20:05 -0500
Update of /cvs-repository/Products/DBTab
In directory cvs.zope.org:/tmp/cvs-serv4771
Modified Files:
StorageTypes.py dbtab.conf.in
Log Message:
Fixed the misspelled 'client' parameter.
=== Products/DBTab/StorageTypes.py 1.2 => 1.3 ===
--- Products/DBTab/StorageTypes.py:1.2 Sat Oct 19 21:39:39 2002
+++ Products/DBTab/StorageTypes.py Tue Oct 29 13:20:04 2002
@@ -99,8 +99,8 @@
kw[name] = asBoolean(kw[name])
# The 'client' parameter must be None to be false. Yuck.
- if kw.has_key('client'):
- kw['client'] = asBoolean(kw['client']) or None
+ if kw.has_key('client') and not kw['client']:
+ kw['client'] = None
return kw
=== Products/DBTab/dbtab.conf.in 1.2 => 1.3 ===
--- Products/DBTab/dbtab.conf.in:1.2 Sat Oct 19 21:39:39 2002
+++ Products/DBTab/dbtab.conf.in Tue Oct 29 13:20:04 2002
@@ -371,14 +371,15 @@
# cache_size=20000000
-## The 'client' flag specifies whether to keep a persistent ZEO cache.
-## If the cache is persistent (set to 1), ZEO creates some ".zec"
-## files in the "var" directory or CLIENT_HOME and re-validates the
-## cache upon restart. If the cache is not persistent, ZEO instead
-## uses temporary files that get deleted when Zope stops. By default,
-## the cache is not persistent.
+## The 'client' parameter specifies whether to keep a persistent ZEO
+## cache, and if so, what name to use to disambiguate this cache from
+## other caches. If the cache is persistent (client parameter is
+## nonempty), ZEO creates some ".zec" files in the "var" directory or
+## CLIENT_HOME and re-validates the cache upon restart. If the cache
+## is not persistent, ZEO instead uses temporary files that get
+## deleted when Zope stops. By default, the cache is not persistent.
-# cache=0
+# client=
## The 'var' parameter specifies where to store the persistent ZEO
## cache. It defaults to the value of the CLIENT_HOME environment