Skip to content
Snippets Groups Projects
Commit 91bc2377 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

fix import

parent b9489551
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@
import os
from spack import *
from spack.pkg.builtin.boost import Boost
class PynnBrainscales(WafPackage):
......@@ -68,7 +67,7 @@ class PynnBrainscales(WafPackage):
include_dirs -= include_exclude_dirs
print('headers (', dep.name, '):', include_dirs, "\n")
include.extend(list(include_dirs))
except error.NoHeadersError:
except spack.error.NoHeadersError:
# we don't care if no header directories are found
pass
......@@ -81,7 +80,7 @@ class PynnBrainscales(WafPackage):
library_dirs -= library_exclude_dirs
print('libs (', dep.name, '):', library_dirs, "\n")
library.extend(list(library_dirs))
except error.NoLibrariesError:
except spack.error.NoLibrariesError:
# we don't care if no library directories are found
pass
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment