[CMF-checkins] CVS: CMF/CMFSetup - utils.py:1.13.2.9

Florent Guillaume fg at nuxeo.com
Tue Jul 5 07:03:38 EDT 2005


Update of /cvs-repository/CMF/CMFSetup
In directory cvs.zope.org:/tmp/cvs-serv18015

Modified Files:
      Tag: CMF-1_5-branch
	utils.py 
Log Message:
Don't use confusing _p_ names, this is not ZODB or persistent.


=== CMF/CMFSetup/utils.py 1.13.2.8 => 1.13.2.9 ===
--- CMF/CMFSetup/utils.py:1.13.2.8	Fri Jul  1 09:27:45 2005
+++ CMF/CMFSetup/utils.py	Tue Jul  5 07:03:37 2005
@@ -326,21 +326,21 @@
     #
     #   generic object and property support
     #
-    _o_nodes = PageTemplateFile('object_nodes.xml', _xmldir)
-    _p_nodes = PageTemplateFile('property_nodes.xml', _xmldir)
+    _ob_nodes = PageTemplateFile('object_nodes.xml', _xmldir)
+    _prop_nodes = PageTemplateFile('property_nodes.xml', _xmldir)
 
     security.declareProtected(ManagePortal, 'generateObjectNodes')
     def generateObjectNodes(self, obj_infos):
         """ Pseudo API.
         """
-        lines = self._o_nodes(objects=obj_infos).splitlines()
+        lines = self._ob_nodes(objects=obj_infos).splitlines()
         return '\n'.join(lines)
 
     security.declareProtected(ManagePortal, 'generatePropertyNodes')
     def generatePropertyNodes(self, prop_infos):
         """ Pseudo API.
         """
-        lines = self._p_nodes(properties=prop_infos).splitlines()
+        lines = self._prop_nodes(properties=prop_infos).splitlines()
         return '\n'.join(lines)
 
     def _extractObject(self, obj):



More information about the CMF-checkins mailing list