cannot uninstall dtcmp because depends on dtcmp

This commit is contained in:
Adam Moody 2014-07-31 21:31:20 -07:00 committed by Todd Gamblin
parent 6e7a7d127d
commit a32816c644

View File

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