[CMF-checkins] CVS: CMF/CMFCore - FSZSQLMethod.py:1.2.36.2
runyaga
runyaga@thisbox.com
Tue, 20 Aug 2002 18:41:37 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv29693
Modified Files:
Tag: CMF-1_3-branch
FSZSQLMethod.py
Log Message:
ZSQLMethod arguments are not sanely seperated by commans ( , ) but by linebreaks ( \n )
so we need to replace() on the parameters. Now you can use ZSQLMethods that have multiple
parameters. I told ChrisW bout this patch.. its been floating around.. but I've been
burnted on it.. and if a 1.3.1 comes out.. this must go in.. passes all tests
=== CMF/CMFCore/FSZSQLMethod.py 1.2.36.1 => 1.2.36.2 ===
--- CMF/CMFCore/FSZSQLMethod.py:1.2.36.1 Thu Aug 1 15:07:55 2002
+++ CMF/CMFCore/FSZSQLMethod.py Tue Aug 20 18:41:36 2002
@@ -95,7 +95,7 @@
try:
title = parameters.get('title','')
connection_id = parameters.get('connection id',parameters['connection_id'])
- arguments = parameters.get('arguments','')
+ arguments = parameters.get('arguments','').replace(',','\n')
max_rows = parameters.get('max_rows',1000)
max_cache = parameters.get('max_cache',100)
cache_time = parameters.get('cache_time',0)