From 2c02872837be4bea29a30ee1a326aa5d19c49716 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Tue, 21 Jun 2011 00:48:05 -0300
Subject: [PATCH] Move methods to private.

Move methods to Private, this methods should be used only as internal
calls on ERP5.
---
 product/ERP5/Tool/IntrospectionTool.py | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/product/ERP5/Tool/IntrospectionTool.py b/product/ERP5/Tool/IntrospectionTool.py
index c0f9e8fca0..803f39dee2 100644
--- a/product/ERP5/Tool/IntrospectionTool.py
+++ b/product/ERP5/Tool/IntrospectionTool.py
@@ -292,20 +292,17 @@ class IntrospectionTool(LogMixin, BaseTool):
                                 cache_factory='erp5_content_long')
     return  cached_loadExternalConfig()
 
+  security.declareProtected(Permissions.ManagePortal, '_getSoftwareHome')
+  def _getSoftwareHome(self):
     """
-  security.declareProtected(Permissions.ManagePortal, 'getSoftwareHome')
-  def getSoftwareHome(self):
-    """
-      EXPERIMENTAL - DEVELOPMENT
-
       Get the value of SOFTWARE_HOME for zopectl startup script
       or from zope.conf (whichever is most relevant)
     """
     return getConfiguration().softwarehome
 
 
-  security.declareProtected(Permissions.ManagePortal, 'getPythonExecutable')
-  def getPythonExecutable(self):
+  security.declareProtected(Permissions.ManagePortal, '_getPythonExecutable')
+  def _getPythonExecutable(self):
     """
       Get the value of PYTHON for zopectl startup script
       or from zope.conf (whichever is most relevant)
@@ -353,8 +350,8 @@ class IntrospectionTool(LogMixin, BaseTool):
   #  config_file.close()
   #  return 
 
-  security.declareProtected(Permissions.ManagePortal, 'getProductPathList')
-  def getProductPathList(self):
+  security.declareProtected(Permissions.ManagePortal, '_getProductPathList')
+  def _getProductPathList(self):
     """
       Get the value of SOFTWARE_HOME for zopectl startup script
       or from zope.conf (whichever is most relevant)
-- 
2.30.9