mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 20:02:39 +01:00
framework/target: rename get_target_descriptions
Rename get_target_descriptions to list_target_descriptions.
This commit is contained in:
committed by
marcbonnici
parent
7bd99637c1
commit
0a67e94709
@@ -15,7 +15,7 @@
|
||||
|
||||
from wa import Command
|
||||
from wa.framework import pluginloader
|
||||
from wa.framework.target.descriptor import get_target_descriptions
|
||||
from wa.framework.target.descriptor import list_target_descriptions
|
||||
from wa.utils.doc import get_summary
|
||||
from wa.utils.formatter import DescriptionListFormatter
|
||||
|
||||
@@ -65,7 +65,7 @@ def get_kinds():
|
||||
|
||||
|
||||
def list_targets():
|
||||
targets = get_target_descriptions()
|
||||
targets = list_target_descriptions()
|
||||
targets = sorted(targets, key=lambda x: x.name)
|
||||
|
||||
output = DescriptionListFormatter()
|
||||
|
Reference in New Issue
Block a user