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

Jim Fulton jim@zope.com
Thu, 5 Sep 2002 14:55:33 -0400


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

Modified Files:
	ISQLScript.py 
Log Message:
Moved the Schema package into the Zope package.

Also cleaned up a bunch of "from x import *".


=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py 1.6 => 1.7 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py:1.6	Wed Sep  4 09:44:29 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/ISQLScript.py	Thu Sep  5 14:55:02 2002
@@ -18,9 +18,9 @@
 from Interface.Attribute import Attribute
 from Zope.ComponentArchitecture import getService
 from Zope.ContextWrapper import ContextMethod
-import Schema
+import Zope.Schema
 
-class SQLConnectionName(Schema.Str):
+class SQLConnectionName(Zope.Schema.Str):
     """SQL Connection Name"""
 
     def items(self):
@@ -39,24 +39,24 @@
         description="The Connection Name for the connection to be used.",
         required=1)
 
-    arguments = Schema.Str(
+    arguments = Zope.Schema.Str(
         title="Arguments",
         description="A set of attributes that can be used during the DTML "
                     "rendering process to provide dynamic data.",
         required=0)
 
-    source = Schema.Str(
+    source = Zope.Schema.Str(
         title="Source",
         description="The source of the page template.",
         required=1)
 
-    maxCache = Schema.Int(
+    maxCache = Zope.Schema.Int(
         title="Maximum results to cache",
         description="The size of the SQL script cache.",
         min=0,
         required=1)
 
-    cacheTime = Schema.Int(
+    cacheTime = Zope.Schema.Int(
         title="Maximum time (sec) to cache",
         description="The time in seconds that results are cached. "
                     "Setting to zero disables caching.",