Skip to content

Commit

Permalink
CapDL Linker: drop enforcing a parameter type
Browse files Browse the repository at this point in the history
String type is implied anyway.

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h committed Oct 20, 2022
1 parent 3fa3a1b commit ac6217e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cdl_utils/capdl_linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ def main():
parser = argparse.ArgumentParser(
description="")
parser.add_argument('--architecture', '--arch', default='aarch32',
type=lambda x: type('')(x).lower(), choices=valid_architectures(),
help='Target architecture.')
choices=valid_architectures(), help='Target architecture.')
parser.add_argument('--object-sizes', required=True, type=argparse.FileType('r'))
subparsers = parser.add_subparsers()
parser_a = subparsers.add_parser('build_cnode')
Expand Down

0 comments on commit ac6217e

Please sign in to comment.