[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - sql.py:1.5

Steve Alexander steve@cat-box.net
Thu, 20 Feb 2003 11:46:36 -0500


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

Modified Files:
	sql.py 
Log Message:
Removed allowed_values=[(value,text),...] convention from widget.py --
it shouldn't have been there in the first place :)

Removed some unwanted whitespace, and flagged a bunch of opaque code
and bare except:s with XXX comments.


=== Zope3/src/zope/app/browser/content/sql.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/content/sql.py:1.4	Fri Jan 24 09:54:09 2003
+++ Zope3/src/zope/app/browser/content/sql.py	Thu Feb 20 11:46:04 2003
@@ -31,7 +31,7 @@
     # __implements__ of the newly created class (see SimpleViewClass in the
     # same module) ought to be a union of __implements__ of all the base
     # classes.  Or perhaps it should be done by zope.app.browser.form.editview?
-    
+
     __used_for__ = ISQLScript
 
     error = None
@@ -39,6 +39,7 @@
     def getArguments(self):
         form = self.request.form
         arguments = {}
+        # XXX does anyone know what arg[0] and arg[1] are supposed to be?
         for arg in self.context.getArguments().items():
             value = form.get(arg[0])
             if value is None: