diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-04-08 01:17:28 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-05-13 10:45:12 -0700 |
commit | 283a4e60684c8cb0d8f70b2c2660546be55a8f59 (patch) | |
tree | ff0bbd35fec0a402a7a24efd191aec8d509a1868 /lib | |
parent | d20cc7b12436e6a0f188476bb83a2f7e12e88d78 (diff) | |
download | spack-283a4e60684c8cb0d8f70b2c2660546be55a8f59.tar.gz spack-283a4e60684c8cb0d8f70b2c2660546be55a8f59.tar.bz2 spack-283a4e60684c8cb0d8f70b2c2660546be55a8f59.tar.xz spack-283a4e60684c8cb0d8f70b2c2660546be55a8f59.zip |
remove no longer needed full hash check
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/environment/environment.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py index c3d4c67c49..d17a0afb58 100644 --- a/lib/spack/spack/environment/environment.py +++ b/lib/spack/spack/environment/environment.py @@ -1688,12 +1688,7 @@ class Environment(object): for user_spec, concretized_user_spec in self.concretized_specs(): # Deal with concrete specs differently if spec.concrete: - # TODO: do we still need the extra check comparing dag hashes? - is_match = ( - spec in concretized_user_spec and - concretized_user_spec[spec.name].dag_hash() == spec.dag_hash() - ) - if is_match: + if spec in concretized_user_spec: matches[spec] = spec continue |