[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/SQLScript - ISQLScript.py:1.9
Jim Fulton
jim@zope.com
Wed, 11 Sep 2002 18:08:36 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/SQLScript
In directory cvs.zope.org:/tmp/cvs-serv9283/lib/python/Zope/App/OFS/Content/SQLScript
Modified Files:
ISQLScript.py
Log Message:
Updated to work with new schemas.
In particular, changed field titles and desciptions to unicode.
=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py 1.8 => 1.9 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py:1.8 Sat Sep 7 12:18:50 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py Wed Sep 11 18:08:35 2002
@@ -35,31 +35,31 @@
"""A persistent script that can execute SQL."""
connectionName = SQLConnectionName(
- title="Connection Name",
- description="The Connection Name for the connection to be used.",
+ title=u"Connection Name",
+ description=u"The Connection Name for the connection to be used.",
required=1)
arguments = Zope.Schema.Bytes(
- title="Arguments",
- description="A set of attributes that can be used during the DTML "
- "rendering process to provide dynamic data.",
+ 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)
source = Zope.Schema.Bytes(
- title="Source",
- description="The source of the page template.",
+ title=u"Source",
+ description=u"The source of the page template.",
required=1)
maxCache = Zope.Schema.Int(
- title="Maximum results to cache",
- description="The size of the SQL script cache.",
+ title=u"Maximum results to cache",
+ description=u"The size of the SQL script cache.",
min=0,
required=1)
cacheTime = Zope.Schema.Int(
- title="Maximum time (sec) to cache",
- description="The time in seconds that results are cached. "
- "Setting to zero disables caching.",
+ 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)