Don't print successfully uninstalled twice (#4019)

This commit is contained in:
Adam J. Stewart 2017-04-27 12:11:35 -05:00 committed by Todd Gamblin
parent 2d9dac9af0
commit d83ae6dcff

View File

@ -1548,7 +1548,6 @@ def uninstall_by_spec(spec, force=False):
msg = 'Deleting DB entry [{0}]'
tty.debug(msg.format(spec.short_spec))
spack.store.db.remove(spec)
tty.msg("Successfully uninstalled %s" % spec.short_spec)
if pkg is not None:
spack.hooks.post_uninstall(spec)