[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/SQLScript - ISQLScript.py:1.10

Jim Fulton jim@zope.com
Wed, 18 Sep 2002 11:06:21 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/SQLScript
In directory cvs.zope.org:/tmp/cvs-serv23268/lib/python/Zope/App/OFS/Content/SQLScript

Modified Files:
	ISQLScript.py 
Log Message:
Updated uses of Boolean fields to use True and False (rather than 1 and 0).

=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py 1.9 => 1.10 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py:1.9	Wed Sep 11 18:08:35 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py	Wed Sep 18 11:05:50 2002
@@ -37,31 +37,31 @@
     connectionName = SQLConnectionName(
         title=u"Connection Name",
         description=u"The Connection Name for the connection to be used.",
-        required=1)
+        required=True)
 
     arguments = Zope.Schema.Bytes(
         title=u"Arguments",
         description=u"A set of attributes that can be used during the DTML "
                     u"rendering process to provide dynamic data.",
-        required=0)
+        required=False)
 
     source = Zope.Schema.Bytes(
         title=u"Source",
         description=u"The source of the page template.",
-        required=1)
+        required=True)
 
     maxCache = Zope.Schema.Int(
         title=u"Maximum results to cache",
         description=u"The size of the SQL script cache.",
         min=0,
-        required=1)
+        required=True)
 
     cacheTime = Zope.Schema.Int(
         title=u"Maximum time (sec) to cache",
         description=u"The time in seconds that results are cached. "
                     u"Setting to zero disables caching.",
         min=0,
-        required=1)
+        required=True)
 
     def setArguments(arguments):
         """Processes the arguments (which could be a dict, string or whatever)