ignore problems when importing (outdated) core module during its rebuilding.
This commit is contained in:
parent
20060b4275
commit
0dabe29657
|
@ -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, '\
|
||||||
|
|
Loading…
Reference in New Issue