cannot uninstall dtcmp because depends on dtcmp
This commit is contained in:
parent
6e7a7d127d
commit
a32816c644
@ -494,7 +494,7 @@ def installed_dependents(self):
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user