corrected error handling to work with older python versions
This commit is contained in:
parent
ce83026965
commit
77c066d0a8
|
@ -11,5 +11,5 @@ from .solver import Solver # one class with subclasses
|
||||||
from .test import Test
|
from .test import Test
|
||||||
try:
|
try:
|
||||||
from . import core
|
from . import core
|
||||||
except Exception as e:
|
except Exception, e:
|
||||||
sys.stderr.write('%s \n Core module (Fortran code) not available, try to run setup_processing.py\n'%e)
|
sys.stderr.write('\nWARNING: Core module (Fortran code) not available, try to run setup_processing.py\nError Message when importing core.so: %s\n\n'%e)
|
||||||
|
|
Loading…
Reference in New Issue