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 Jul 11, 2024
1 parent ed79353 commit 3c7ef6a
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 @@ -79,8 +79,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 3c7ef6a

Please sign in to comment.