Commit 51be02d6 authored by Jérome Perrin's avatar Jérome Perrin

don't use import *


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17038 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 275ce986
...@@ -33,7 +33,9 @@ from Products.ERP5Type.Tool.BaseTool import BaseTool ...@@ -33,7 +33,9 @@ from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Globals import InitializeClass, DTMLFile, PersistentMapping from Globals import InitializeClass, DTMLFile, PersistentMapping
from Products.ERP5Type import _dtmldir from Products.ERP5Type import _dtmldir
from Products.ERP5Type.Cache import * from Products.ERP5Type.Cache import CacheFactory
from Products.ERP5Type.Cache import CachingMethod
from Products.ERP5Type.Cache import DEFAULT_CACHE_FACTORY
from Products.ERP5Type.CachePlugins.RamCache import RamCache from Products.ERP5Type.CachePlugins.RamCache import RamCache
from Products.ERP5Type.CachePlugins.DistributedRamCache import DistributedRamCache from Products.ERP5Type.CachePlugins.DistributedRamCache import DistributedRamCache
from Products.ERP5Type.CachePlugins.SQLCache import SQLCache from Products.ERP5Type.CachePlugins.SQLCache import SQLCache
......
...@@ -24,7 +24,9 @@ except ImportError: ...@@ -24,7 +24,9 @@ except ImportError:
from ZODB.ExportImport import TemporaryFile from ZODB.ExportImport import TemporaryFile
from pickle import Pickler, EMPTY_DICT, MARK, DICT from pickle import Pickler, EMPTY_DICT, MARK, DICT
from cPickle import loads, dumps from cPickle import loads, dumps
from types import * from types import TupleType
from types import StringType
from types import DictionaryType
from OFS import XMLExportImport from OFS import XMLExportImport
# Jython has PyStringMap; it's a dict subclass with string keys # Jython has PyStringMap; it's a dict subclass with string keys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment