Skip to content
Snippets Groups Projects
Commit 1f5ca241 authored by Gregory L. Lee's avatar Gregory L. Lee Committed by GitHub
Browse files

Merge pull request #2197 from skosukhin/ext_bugfix

Updated python package reflecting the changes in 9347f869
parents 908ba6e3 62eba477
No related branches found
No related tags found
No related merge requests found
......@@ -346,7 +346,7 @@ def activate(self, ext_pkg, **args):
super(Python, self).activate(ext_pkg, **args)
exts = spack.install_layout.extension_map(self.spec)
exts = spack.store.layout.extension_map(self.spec)
exts[ext_pkg.name] = ext_pkg.spec
self.write_easy_install_pth(exts)
......@@ -354,7 +354,7 @@ def deactivate(self, ext_pkg, **args):
args.update(ignore=self.python_ignore(ext_pkg, args))
super(Python, self).deactivate(ext_pkg, **args)
exts = spack.install_layout.extension_map(self.spec)
exts = spack.store.layout.extension_map(self.spec)
# Make deactivate idempotent
if ext_pkg.name in exts:
del exts[ext_pkg.name]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment