diff options
author | Adam Moody <moody20@llnl.gov> | 2014-07-31 21:31:20 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-08-04 07:54:04 -0700 |
commit | a32816c644450a8c419a2bbc19b020674dae547e (patch) | |
tree | 1cc515d129da2a7b26bc3bbfc30746c9bf14389b | |
parent | 6e7a7d127daa5bb2aafad6411f6c3cf4dbc2c640 (diff) | |
download | spack-a32816c644450a8c419a2bbc19b020674dae547e.tar.gz spack-a32816c644450a8c419a2bbc19b020674dae547e.tar.bz2 spack-a32816c644450a8c419a2bbc19b020674dae547e.tar.xz spack-a32816c644450a8c419a2bbc19b020674dae547e.zip |
cannot uninstall dtcmp because depends on dtcmp
-rw-r--r-- | lib/spack/spack/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index 8df658e660..48074aaebb 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -494,7 +494,7 @@ class Package(object): on this one.""" dependents = [] for spec in spack.db.installed_package_specs(): - if self.spec != spec and self.spec in spec: + if self.name != spec.name and self.spec in spec: dependents.append(spec) return dependents |