Revision eddc9815 tools/burnin
b/tools/burnin | ||
---|---|---|
510 | 510 |
Err(msg, exit_code=err_code) |
511 | 511 |
self.nodes = [data[0] for data in result if not (data[1] or data[2])] |
512 | 512 |
|
513 |
op_diagnose = opcodes.OpDiagnoseOS(output_fields=["name", "variants"], |
|
513 |
op_diagnose = opcodes.OpDiagnoseOS(output_fields=["name", |
|
514 |
"variants", |
|
515 |
"hidden"], |
|
514 | 516 |
names=[]) |
515 | 517 |
result = self.ExecOp(True, op_diagnose) |
516 | 518 |
|
... | ... | |
518 | 520 |
Err("Can't get the OS list") |
519 | 521 |
|
520 | 522 |
found = False |
521 |
for (name, variants) in result: |
|
523 |
for (name, variants, _) in result:
|
|
522 | 524 |
if self.opts.os in cli.CalculateOSNames(name, variants): |
523 | 525 |
found = True |
524 | 526 |
break |
Also available in: Unified diff