diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/package_base.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/spack/spack/package_base.py b/lib/spack/spack/package_base.py index c4bc513443..149aaf3623 100644 --- a/lib/spack/spack/package_base.py +++ b/lib/spack/spack/package_base.py @@ -11,7 +11,6 @@ packages. import base64 import collections -import contextlib import copy import functools import glob @@ -1785,13 +1784,6 @@ class PackageBase(WindowsRPath, PackageViewMixin, metaclass=PackageMeta): resource_stage_folder = "-".join(pieces) return resource_stage_folder - @contextlib.contextmanager - def _stage_and_write_lock(self): - """Prefix lock nested in a stage.""" - with self.stage: - with spack.store.db.prefix_write_lock(self.spec): - yield - def do_install(self, **kwargs): """Called by commands to install a package and or its dependencies. |