From 51be02d6f9131306e90fc60de40d829a42a6503b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 18 Oct 2007 14:36:56 +0000
Subject: [PATCH] don't use import *

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17038 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Tool/CacheTool.py          | 4 +++-
 product/ERP5Type/patches/XMLExportImport.py | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/Tool/CacheTool.py b/product/ERP5Type/Tool/CacheTool.py
index c836908569..8cd007bde0 100644
--- a/product/ERP5Type/Tool/CacheTool.py
+++ b/product/ERP5Type/Tool/CacheTool.py
@@ -33,7 +33,9 @@ from Products.ERP5Type.Tool.BaseTool import BaseTool
 from Products.ERP5Type import Permissions
 from Globals import InitializeClass, DTMLFile, PersistentMapping
 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.DistributedRamCache import DistributedRamCache
 from Products.ERP5Type.CachePlugins.SQLCache import SQLCache
diff --git a/product/ERP5Type/patches/XMLExportImport.py b/product/ERP5Type/patches/XMLExportImport.py
index fb0b9e6109..a2f26b8249 100644
--- a/product/ERP5Type/patches/XMLExportImport.py
+++ b/product/ERP5Type/patches/XMLExportImport.py
@@ -24,7 +24,9 @@ except ImportError:
 from ZODB.ExportImport import TemporaryFile
 from pickle import Pickler, EMPTY_DICT, MARK, DICT
 from cPickle import loads, dumps
-from types import *
+from types import TupleType
+from types import StringType
+from types import DictionaryType
 from OFS import XMLExportImport
 
 # Jython has PyStringMap; it's a dict subclass with string keys
-- 
2.30.9