summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-12-06 19:18:12 +0100
committerGitHub <noreply@github.com>2024-12-06 19:18:12 +0100
commit5c88e035f2d74905ad63309f46535792716df740 (patch)
treedee4f90cc0cc46eccfd89fe76d9140f33a84be5a
parent94bd7b9afb8f905a443644c55b1cea2f786d7077 (diff)
downloadspack-5c88e035f2d74905ad63309f46535792716df740.tar.gz
spack-5c88e035f2d74905ad63309f46535792716df740.tar.bz2
spack-5c88e035f2d74905ad63309f46535792716df740.tar.xz
spack-5c88e035f2d74905ad63309f46535792716df740.zip
directives.py: remove redundant import (#47965)
-rw-r--r--lib/spack/spack/directives.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/spack/spack/directives.py b/lib/spack/spack/directives.py
index 2f152f813d..08f6ec9ba9 100644
--- a/lib/spack/spack/directives.py
+++ b/lib/spack/spack/directives.py
@@ -475,8 +475,6 @@ def provides(*specs: SpecType, when: WhenType = None):
"""
def _execute_provides(pkg: Type[spack.package_base.PackageBase]):
- import spack.parser # Avoid circular dependency
-
when_spec = _make_when_spec(when)
if not when_spec:
return