Skip to content

Commit 0ed2ca7

Browse files
committed
Revert "scripts: west: commands: make use of shield.yml in west shields command"
This reverts commit 9dd10af. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 928472b commit 0ed2ca7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

scripts/west_commands/shields.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ def do_add_parser(self, parser_adder):
4949
The following arguments are available:
5050
5151
- name: shield name
52-
- full_name: shield full name (typically, its commercial name)
53-
- vendor: shield vendor
5452
- dir: directory that contains the shield definition
5553
'''))
5654

@@ -84,9 +82,4 @@ def do_run(self, args, _):
8482
for shield in list_shields.find_shields(args):
8583
if name_re is not None and not name_re.search(shield.name):
8684
continue
87-
self.inf(args.format.format(
88-
name=shield.name,
89-
dir=shield.dir,
90-
vendor=shield.vendor if hasattr(shield, 'vendor') else '',
91-
full_name=shield.full_name if hasattr(shield, 'full_name') else shield.name
92-
))
85+
self.inf(args.format.format(name=shield.name, dir=shield.dir))

0 commit comments

Comments
 (0)