ignore problems when importing (outdated) core module during its rebuilding.

This commit is contained in:
Philip Eisenlohr 2013-02-01 11:45:20 +00:00
parent 20060b4275
commit 0dabe29657
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ try:
core.mesh.volumeMismatch = core.mesh.mesh_volumeMismatch core.mesh.volumeMismatch = core.mesh.mesh_volumeMismatch
core.mesh.shapeMismatch = core.mesh.mesh_shapeMismatch core.mesh.shapeMismatch = core.mesh.mesh_shapeMismatch
except ImportError, e: except (ImportError,AttributeError) as e:
core = None # from http://www.python.org/dev/peps/pep-0008/ core = None # from http://www.python.org/dev/peps/pep-0008/
if('setup_processing' not in sys.argv[0]): if('setup_processing' not in sys.argv[0]):
sys.stderr.write('\nWARNING: Core module (Fortran code) not available, '\ sys.stderr.write('\nWARNING: Core module (Fortran code) not available, '\