directives.py: remove redundant import (#47965)
This commit is contained in:
parent
94bd7b9afb
commit
5c88e035f2
@ -475,8 +475,6 @@ def provides(*specs: SpecType, when: WhenType = None):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def _execute_provides(pkg: Type[spack.package_base.PackageBase]):
|
def _execute_provides(pkg: Type[spack.package_base.PackageBase]):
|
||||||
import spack.parser # Avoid circular dependency
|
|
||||||
|
|
||||||
when_spec = _make_when_spec(when)
|
when_spec = _make_when_spec(when)
|
||||||
if not when_spec:
|
if not when_spec:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user