[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content - sql.py:1.7

Sidnei da Silva sidnei@x3ng.com.br
Thu, 3 Jul 2003 18:46:44 -0400


Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv1282/src/zope/app/interfaces/content

Modified Files:
	sql.py 
Log Message:
Whitespace cleanup, changed some ContextMethods by zapi.ContextMethod, use constant for service name, corrected some labels on SQLScript. There was this ugly code on zope.app.rdb that I couldnt figure out how to fix. I need help from srichter.

=== Zope3/src/zope/app/interfaces/content/sql.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/interfaces/content/sql.py:1.6	Wed Jun 11 09:47:58 2003
+++ Zope3/src/zope/app/interfaces/content/sql.py	Thu Jul  3 18:46:08 2003
@@ -34,7 +34,7 @@
                                             "SQLDatabaseConnections")
         except ComponentLookupError:
             return []
-        
+
         return connection_service.getAvailableConnections()
 
     allowed_values = ContextProperty(__allowed)
@@ -49,13 +49,13 @@
 
     arguments = zope.schema.BytesLine(
         title=_(u"Arguments"),
-        description=_(u"A set of attributes that can be used during the DTML "
+        description=_(u"A set of attributes that can be used during the SQL command "
                       u"rendering process to provide dynamic data."),
         required=False)
 
     source = zope.schema.Bytes(
         title=_(u"Source"),
-        description=_(u"The source of the page template."),
+        description=_(u"The SQL command to be run."),
         required=True)
 
     def getArguments():