summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/package.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 2c8917a9ac..de0f9b3568 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -2154,11 +2154,6 @@ def possible_dependencies(*pkg_or_spec, **kwargs):
See ``PackageBase.possible_dependencies`` for details.
"""
- transitive = kwargs.get('transitive', True)
- expand_virtuals = kwargs.get('expand_virtuals', True)
- deptype = kwargs.get('deptype', 'all')
- missing = kwargs.get('missing')
-
packages = []
for pos in pkg_or_spec:
if isinstance(pos, PackageMeta):
@@ -2172,8 +2167,7 @@ def possible_dependencies(*pkg_or_spec, **kwargs):
visited = {}
for pkg in packages:
- pkg.possible_dependencies(
- transitive, expand_virtuals, deptype, visited, missing)
+ pkg.possible_dependencies(visited=visited, **kwargs)
return visited