summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-03-21 15:30:38 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2017-03-21 15:30:38 -0700
commit9b5f5fccf0bef308a21cf69005e41904dc896f24 (patch)
tree0064a02e9feef442c5bb2f5fb6ae71e6aa97d898 /lib
parent657110f9d7bc70f9d05d0064651ba730dffa6d8b (diff)
downloadspack-9b5f5fccf0bef308a21cf69005e41904dc896f24.tar.gz
spack-9b5f5fccf0bef308a21cf69005e41904dc896f24.tar.bz2
spack-9b5f5fccf0bef308a21cf69005e41904dc896f24.tar.xz
spack-9b5f5fccf0bef308a21cf69005e41904dc896f24.zip
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 ....
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/common/arguments.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class ConstraintAction(argparse.Action):
# 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()