Skip to content
Snippets Groups Projects
Commit 1f6067bf authored by Sebastien Jourdain's avatar Sebastien Jourdain
Browse files

python: raise ImportError instead of RuntimeError

parent 446dae5a
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ objects in the global dispatch table used by pickle. NumPy is required as well s
try:
import copyreg, pickle, numpy
except ImportError:
raise RuntimeError("This module depends on the pickle, copyreg, and numpy modules.\
raise ImportError("This module depends on the pickle, copyreg, and numpy modules.\
Please make sure that it is installed properly.")
from ..vtkParallelCore import vtkCommunicator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment