[Erp5-report] r17038 - /erp5/trunk/products/ERP5Type/patches/XMLExportImport.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 18 16:36:56 CEST 2007


Author: jerome
Date: Thu Oct 18 16:36:56 2007
New Revision: 17038

URL: http://svn.erp5.org?rev=17038&view=rev
Log:
don't use import *

Modified:
    erp5/trunk/products/ERP5Type/patches/XMLExportImport.py

Modified: erp5/trunk/products/ERP5Type/patches/XMLExportImport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/XMLExportImport.py?rev=17038&r1=17037&r2=17038&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/XMLExportImport.py (original)
+++ erp5/trunk/products/ERP5Type/patches/XMLExportImport.py Thu Oct 18 16:36:56 2007
@@ -24,7 +24,9 @@
 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




More information about the Erp5-report mailing list