[CMF-checkins] CVS: Products/CMFCore - FSZSQLMethod.py:1.6.12.2

Jens Vagelpohl jens at dataflake.org
Wed May 4 16:32:48 EDT 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv6586/CMFCore

Modified Files:
      Tag: CMF-1_5-branch
	FSZSQLMethod.py 
Log Message:
- CMFCore.FSZSQLMethod: Add the forgotten setting to allow simple 
  direct traversal for ZSQL methods to the list of settings recognized 
  and applied by FSZSQLMethods during instantiation and customization.
  (http://www.zope.org/Collectors/CMF/350)


=== Products/CMFCore/FSZSQLMethod.py 1.6.12.1 => 1.6.12.2 ===
--- Products/CMFCore/FSZSQLMethod.py:1.6.12.1	Wed Apr  6 07:19:45 2005
+++ Products/CMFCore/FSZSQLMethod.py	Wed May  4 16:32:18 2005
@@ -66,7 +66,8 @@
                           self.cache_time_,
                           self.class_name_,
                           self.class_file_,
-                          connection_hook=self.connection_hook)
+                          connection_hook=self.connection_hook,
+                          direct=self.allow_simple_one_argument_traversal)
         return s
 
     def _readFile(self, reparse):
@@ -106,6 +107,7 @@
         class_name =      parameters.get('class_name','')
         class_file =      parameters.get('class_file','')
         connection_hook = parameters.get('connection_hook',None)
+        direct = parameters.get('allow_simple_one_argument_traversal', None)
 
         self.manage_edit(title, connection_id, arguments, template=data)
 
@@ -114,7 +116,8 @@
                              cache_time,
                              class_name,
                              class_file,
-                             connection_hook=connection_hook)
+                             connection_hook=connection_hook,
+                             direct=direct)
 
         # do we need to do anything on reparse?
 



More information about the CMF-checkins mailing list