uninstall : fixed typo (print statement vs. print function)

This commit is contained in:
alalazo 2016-03-21 09:23:25 +01:00
parent 491babd5cd
commit aef6d50b08

View File

@ -96,9 +96,9 @@ def num_installed_deps(pkg):
pkg.do_uninstall(force=args.force) pkg.do_uninstall(force=args.force)
except PackageStillNeededError as e: except PackageStillNeededError as e:
tty.error("Will not uninstall %s" % e.spec.format("$_$@$%@$#", color=True)) tty.error("Will not uninstall %s" % e.spec.format("$_$@$%@$#", color=True))
print() print('')
print("The following packages depend on it:") print("The following packages depend on it:")
display_specs(e.dependents, long=True) display_specs(e.dependents, long=True)
print() print('')
print("You can use spack uninstall -f to force this action.") print("You can use spack uninstall -f to force this action.")
sys.exit(1) sys.exit(1)