[@spackbot] updating style on behalf of becker33
This commit is contained in:
parent
394f2a58d3
commit
84a1fc415d
@ -1762,10 +1762,16 @@ def install_specs(self, specs=None, **install_args):
|
|||||||
# Specs to install are those that aren't installed yet or are overwritten
|
# Specs to install are those that aren't installed yet or are overwritten
|
||||||
if specs:
|
if specs:
|
||||||
# Filter specs to install by CLI arguments
|
# Filter specs to install by CLI arguments
|
||||||
specs_to_install = [s for s in specs if s not in installed_roots or s.dag_hash() in overwrite]
|
specs_to_install = [
|
||||||
specs_dropped = [s for s in specs if s in installed_roots and s.dag_hash() not in overwrite]
|
s for s in specs if s not in installed_roots or s.dag_hash() in overwrite
|
||||||
|
]
|
||||||
|
specs_dropped = [
|
||||||
|
s for s in specs if s in installed_roots and s.dag_hash() not in overwrite
|
||||||
|
]
|
||||||
else:
|
else:
|
||||||
specs_to_install = uninstalled_roots + [s for s in installed_roots if s.dag_hash() in overwrite]
|
specs_to_install = uninstalled_roots + [
|
||||||
|
s for s in installed_roots if s.dag_hash() in overwrite
|
||||||
|
]
|
||||||
specs_dropped = [s for s in installed_roots if s.dag_hash() not in overwrite]
|
specs_dropped = [s for s in installed_roots if s.dag_hash() not in overwrite]
|
||||||
|
|
||||||
# We need to repeat the work of the installer thanks to the above optimization:
|
# We need to repeat the work of the installer thanks to the above optimization:
|
||||||
|
Loading…
Reference in New Issue
Block a user