Skip to content
Snippets Groups Projects
Commit 653d7c52 authored by Massimiliano Culpo's avatar Massimiliano Culpo
Browse files

uninstall : minor fixes

parent 1141f119
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@
b) use spack uninstall -a to uninstall ALL matching specs.
"""
def ask_for_confirmation(message):
while True:
tty.msg(message + '[y/n]')
......@@ -122,6 +123,7 @@ def installed_dependents(specs):
for item in specs:
lst = [x for x in item.package.installed_dependents if x not in specs]
if lst:
lst = list(set(lst))
dependents[item] = lst
return dependents
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment