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 ....
This commit is contained in:
George Hartzell 2017-03-21 15:30:38 -07:00 committed by Todd Gamblin
parent 657110f9d7
commit 9b5f5fccf0

View file

@ -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()