made init of python module more verbose in case core modules cannot be loaded

This commit is contained in:
Martin Diehl 2012-05-03 19:00:34 +00:00
parent b4775249e8
commit 331ef7ad68
1 changed files with 2 additions and 2 deletions

View File

@ -11,5 +11,5 @@ from .solver import Solver # one class with subclasses
from .test import Test
try:
from . import core
except:
sys.stderr.write('Core module (Fortran code) not available, try to run setup_processing.py\n')
except Exception as e:
sys.stderr.write('%s \n Core module (Fortran code) not available, try to run setup_processing.py\n'%e)