1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/suit/manifest-generator: small fixes

- fix typo 'formated' -> 'formatted'
- remove unused variable
This commit is contained in:
Alexandre Abadie 2020-10-02 07:59:51 +02:00
parent 35f357a9ad
commit b2aaebc699
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 1 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class MainArgumentParser(object):
# create_parser.add_argument('-v', '--manifest-version', choices=['1'], default='1')
create_parser.add_argument('-i', '--input-file', metavar='FILE', type=argparse.FileType('r'),
help='An input file describing the update. The file must be formated as JSON. The overal structure is described in README.')
help='An input file describing the update. The file must be formatted as JSON. The overal structure is described in README.')
create_parser.add_argument('-o', '--output-file', metavar='FILE', type=argparse.FileType('wb'), required=True)
create_parser.add_argument('-f', '--format', metavar='FMT', choices=['suit', 'suit-debug', 'json'], default='suit')
create_parser.add_argument('-s', '--severable', action='store_true', help='Convert large elements to severable fields.')

View File

@ -373,7 +373,6 @@ def compile_manifest(options, m):
'command-arg' : None
}))
else:
te = []
for c in bootable_components:
pass
# TODO: conditions