[Erp5-report] r39198 jm - in /erp5/trunk/products: ERP5/Tool/ ERP5Security/ ERP5Type/help/ ...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 14 20:45:02 CEST 2010


Author: jm
Date: Thu Oct 14 20:44:58 2010
New Revision: 39198

URL: http://svn.erp5.org?rev=39198&view=rev
Log:
Do not import from deprecated 'Globals' module

Modified:
    erp5/trunk/products/ERP5/Tool/ConversionTool.py
    erp5/trunk/products/ERP5/Tool/SolverProcessTool.py
    erp5/trunk/products/ERP5Security/ERP5KeyAuthPlugin.py
    erp5/trunk/products/ERP5Type/help/001-overview.stx
    erp5/trunk/products/ERP5Type/mixin/property_translatable.py
    erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py
    erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py
    erp5/trunk/products/ERP5eGovSecurity/EGOVGroupManager.py
    erp5/trunk/products/ERP5eGovSecurity/EGOVUserManager.py

Modified: erp5/trunk/products/ERP5/Tool/ConversionTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/ConversionTool.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/ConversionTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/ConversionTool.py [utf8] Thu Oct 14 20:44:58 2010
@@ -27,12 +27,10 @@
 #
 ##############################################################################
 
-from Products.CMFCore.utils import getToolByName
-
 from AccessControl import ClassSecurityInfo
-from Globals import InitializeClass, DTMLFile
 from Products.CMFCore.utils import getToolByName
 from Products.ERP5Type import Permissions
+from Products.ERP5Type.Globals import InitializeClass, DTMLFile
 from Products.ERP5Type.Tool.BaseTool import BaseTool
 
 from Products.ERP5 import _dtmldir

Modified: erp5/trunk/products/ERP5/Tool/SolverProcessTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/SolverProcessTool.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/SolverProcessTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/SolverProcessTool.py [utf8] Thu Oct 14 20:44:58 2010
@@ -30,8 +30,8 @@
 import zope.interface
 
 from AccessControl import ClassSecurityInfo
-from Globals import DTMLFile
 from Products.ERP5Type import Permissions, interfaces
+from Products.ERP5Type.Globals import DTMLFile
 from Products.ERP5Type.Tool.BaseTool import BaseTool
 
 from Products.ERP5 import _dtmldir

Modified: erp5/trunk/products/ERP5Security/ERP5KeyAuthPlugin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Security/ERP5KeyAuthPlugin.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Security/ERP5KeyAuthPlugin.py [utf8] (original)
+++ erp5/trunk/products/ERP5Security/ERP5KeyAuthPlugin.py [utf8] Thu Oct 14 20:44:58 2010
@@ -31,7 +31,7 @@ from base64 import encodestring, decodes
 from urllib import quote, unquote
 from DateTime import DateTime
 from zLOG import LOG, PROBLEM
-from Globals import InitializeClass
+from Products.ERP5Type.Globals import InitializeClass
 try:
     from zope.interface import Interface
 except ImportError:

Modified: erp5/trunk/products/ERP5Type/help/001-overview.stx
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/help/001-overview.stx?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/help/001-overview.stx [utf8] (original)
+++ erp5/trunk/products/ERP5Type/help/001-overview.stx [utf8] Thu Oct 14 20:44:58 2010
@@ -323,7 +323,7 @@ Code Generation in ERP5Type
     If we look at the file Document/__init__.py, we can see some generated code::
 
       # Hide internal implementation
-      from Globals import InitializeClass
+      from Products.ERP5Type.Globals import InitializeClass
       from Demo import Demo as ERP5Demo
       # Default constructor for Demo
       # Can be overriden by adding a method addDemo in class Demo

Modified: erp5/trunk/products/ERP5Type/mixin/property_translatable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/mixin/property_translatable.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/mixin/property_translatable.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/mixin/property_translatable.py [utf8] Thu Oct 14 20:44:58 2010
@@ -29,7 +29,7 @@ import zope.interface
 from Products.ERP5Type.interfaces.property_translatable import IPropertyTranslatable
 from AccessControl import ClassSecurityInfo
 from Products.ERP5Type import Permissions
-from Globals import InitializeClass
+from Products.ERP5Type.Globals import InitializeClass
 
 
 INTERNAL_TRANSLATION_DICT_NAME = '__translation_dict'

Modified: erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py [utf8] (original)
+++ erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py [utf8] Thu Oct 14 20:44:58 2010
@@ -15,7 +15,7 @@
 """ Classes: ERP5RemoteUserManager
 """
 
-from Globals import InitializeClass
+from Products.ERP5Type.Globals import InitializeClass
 from AccessControl import ClassSecurityInfo
 from AccessControl.SecurityManagement import getSecurityManager,\
     setSecurityManager, newSecurityManager

Modified: erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py [utf8] Thu Oct 14 20:44:58 2010
@@ -29,7 +29,7 @@
 
 from AccessControl import ClassSecurityInfo
 from ZPublisher.HTTPRequest import FileUpload
-from Globals import DTMLFile
+from Products.ERP5Type.Globals import DTMLFile
 from Products.ERP5Type.Accessor.Constant import PropertyGetter as \
     ConstantGetter
 from Products.ERP5Type.Tool.BaseTool import BaseTool

Modified: erp5/trunk/products/ERP5eGovSecurity/EGOVGroupManager.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5eGovSecurity/EGOVGroupManager.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5eGovSecurity/EGOVGroupManager.py [utf8] (original)
+++ erp5/trunk/products/ERP5eGovSecurity/EGOVGroupManager.py [utf8] Thu Oct 14 20:44:58 2010
@@ -17,7 +17,7 @@
 """ Classes: ERP5GroupManager
 """
 
-from Globals import InitializeClass
+from Products.ERP5Type.Globals import InitializeClass
 from AccessControl.SecurityManagement import newSecurityManager,\
     getSecurityManager, setSecurityManager
 from Products.PageTemplates.PageTemplateFile import PageTemplateFile

Modified: erp5/trunk/products/ERP5eGovSecurity/EGOVUserManager.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5eGovSecurity/EGOVUserManager.py?rev=39198&r1=39197&r2=39198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5eGovSecurity/EGOVUserManager.py [utf8] (original)
+++ erp5/trunk/products/ERP5eGovSecurity/EGOVUserManager.py [utf8] Thu Oct 14 20:44:58 2010
@@ -17,7 +17,7 @@
 """ Classes: ERP5GroupManager
 """
 
-from Globals import InitializeClass
+from Products.ERP5Type.Globals import InitializeClass
 from AccessControl import ClassSecurityInfo
 from AccessControl.SecurityManagement import getSecurityManager,\
     setSecurityManager, newSecurityManager




More information about the Erp5-report mailing list