File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 77
88import sys
99
10- _analyze_imports = True
11- try :
12- import spack .extensions .manager .manager_cmds .analyze as analyze
13- except :
14- _analyze_imports = False
1510import spack .extensions .manager .manager_cmds .binary_finder as binary_finder
1611import spack .extensions .manager .manager_cmds .cache_query as cache_query
1712import spack .extensions .manager .manager_cmds .cli_config as cli_config
2520import spack .extensions .manager .manager_cmds .lock_diff as lock_diff
2621import spack .extensions .manager .manager_cmds .make as make
2722import spack .extensions .manager .manager_cmds .pin as pin
23+ try :
24+ import spack .extensions .manager .manager_cmds .analyze as analyze
25+ _analyze_imports = True
26+ except : ImportError
27+ _analyze_imports = False
2828
2929if sys .version_info < (3 , 8 ):
3030 print ("spack-manager commands only supported in python 3.8 and higher" )
Original file line number Diff line number Diff line change @@ -216,7 +216,6 @@ def analyze(parser, args):
216216 else :
217217 visitor = OmitSpecsVisitor ([])
218218
219-
220219 stats = compute_dag_stats (specs , visitor )
221220
222221 if args .stats :
You can’t perform that action at this time.
0 commit comments