Don't print successfully uninstalled twice (#4019)
This commit is contained in:
parent
2d9dac9af0
commit
d83ae6dcff
@ -1548,7 +1548,6 @@ def uninstall_by_spec(spec, force=False):
|
|||||||
msg = 'Deleting DB entry [{0}]'
|
msg = 'Deleting DB entry [{0}]'
|
||||||
tty.debug(msg.format(spec.short_spec))
|
tty.debug(msg.format(spec.short_spec))
|
||||||
spack.store.db.remove(spec)
|
spack.store.db.remove(spec)
|
||||||
tty.msg("Successfully uninstalled %s" % spec.short_spec)
|
|
||||||
|
|
||||||
if pkg is not None:
|
if pkg is not None:
|
||||||
spack.hooks.post_uninstall(spec)
|
spack.hooks.post_uninstall(spec)
|
||||||
|
Loading…
Reference in New Issue
Block a user