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

Erik ersab@codeworks.lt
Thu, 8 Aug 2002 07:10:23 -0400


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

Modified Files:
	ISQLScript.py 
Log Message:
Arguments should not be a required field for SQL scripts
Fixed a typo (s/od/of/)



=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py:1.3	Thu Jul 25 18:09:31 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py	Thu Aug  8 07:10:23 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 """
 $Id$
@@ -30,7 +30,7 @@
         return connections
 
     items = ContextMethod(items)
-    
+
 class ISQLScript(ISQLCommand):
     """A persistent script that can execute SQL."""
 
@@ -45,12 +45,12 @@
         title="Arguments",
         description='A set of attributes that can be used during the DTML '
                     'rendering process to provide dynamic data.',
-        required=1)
+        required=0)
 
     source = Schema.Str(
         id="source",
         title="Source",
-        description="""The source od the page template.""",
+        description="""The source of the page template.""",
         required=1)
 
     def setArguments(arguments):