mailr27999 - /trunk/devel_scripts/find_unused_imports.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 05, 2015 - 17:17:
Author: bugman
Date: Mon Oct  5 17:17:52 2015
New Revision: 27999

URL: http://svn.gna.org/viewcvs/relax?rev=27999&view=rev
Log:
Added import exceptions for the lib.xml module in the find_unused_imports.py 
devel script.

These are needed because of eval() function calls on XML stored Python data 
structures.


Modified:
    trunk/devel_scripts/find_unused_imports.py

Modified: trunk/devel_scripts/find_unused_imports.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/find_unused_imports.py?rev=27999&r1=27998&r2=27999&view=diff
==============================================================================
--- trunk/devel_scripts/find_unused_imports.py  (original)
+++ trunk/devel_scripts/find_unused_imports.py  Mon Oct  5 17:17:52 2015
@@ -34,6 +34,7 @@
 EXCEPTIONS = {
     'dep_check.py': ['bmrblib', 'bz2', 'cProfile', 'ctypes', 'epydoc', 
'gzip', 'io', 'matplotlib', 'mpi4py', 'optparse', 'profile', 'pymol', 
'readline', 'relax_fit', 'runpy', 'scipy', 'Structure', 'wx'],
     'lib/compat.py': ['IOBase', 'pickle', 'queue', 'StringIO', 
'TextTestResult'],
+    'lib/xml.py': ['array', 'float32', 'float64', 'inf', 'int16', 'int32'],
     'test_suite/shared_data/dispersion/profiling/profiling_b14.py': 
['cluster', 'single'],
     'test_suite/shared_data/dispersion/profiling/profiling_b14_full.py': 
['cluster', 'single'],
     'test_suite/shared_data/dispersion/profiling/profiling_cr72.py': 
['cluster', 'single'],




Related Messages


Powered by MHonArc, Updated Mon Oct 05 17:40:06 2015