Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 52c429ad authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Fix message in pytgon wrapper

parent 1bce73e6
No related branches found
No related tags found
No related merge requests found
......@@ -28,15 +28,15 @@ import ctypes.util
# Load the SPM library
libspm_name = ctypes.util.find_library('spm')
if libspm_name == None:
raise EnvironmentError("Could not find shared library: spm."
"The path to libpastix_spm.so should be in "
raise EnvironmentError("Could not find shared library: spm. "
"The path to libspm.so should be in "
"$LIBRARY_PATH")
try:
libspm = ctypes.cdll.LoadLibrary(libspm_name)
except:
raise EnvironmentError("Could not load shared library: spm."
"The path to libpastix_spm.so should be in "
raise EnvironmentError("Could not load shared library: spm. "
"The path to libspm.so should be in "
"$LD_LIBRARY_PATH or $DYLD_LIBRARY_PATH on MacOS");
from .enum import *
......
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