From 9b5f5fccf0bef308a21cf69005e41904dc896f24 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Tue, 21 Mar 2017 15:30:38 -0700 Subject: [PATCH] Fix for `find --explicit` #3374 (#3492) This fixes the problem described in #3374, which describes `spack find` ignore explicit/implicit. I believe that this was broken in #2626. This restores the behavior of implicit/explicit for me. I believe that it does not screw anything else up, but .... --- lib/spack/spack/cmd/common/arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/common/arguments.py b/lib/spack/spack/cmd/common/arguments.py index 6fc3b5d3cf..a8bdcf692f 100644 --- a/lib/spack/spack/cmd/common/arguments.py +++ b/lib/spack/spack/cmd/common/arguments.py @@ -64,7 +64,7 @@ def _specs(self, **kwargs): # return everything for an empty query. if not qspecs: - return spack.store.db.query() + return spack.store.db.query(**kwargs) # Return only matching stuff otherwise. specs = set()