mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/parttool_miss_arg' into 'master'
partition_table: Fix missing argument not present for all parsers See merge request espressif/esp-idf!11373
This commit is contained in:
commit
499f3e1540
@ -294,7 +294,7 @@ def main():
|
||||
elif args.partition_type:
|
||||
if not args.partition_subtype:
|
||||
raise RuntimeError("--partition-subtype should be defined when --partition-type is defined")
|
||||
partition_id = PartitionType(args.partition_type, args.partition_subtype, args.part_list)
|
||||
partition_id = PartitionType(args.partition_type, args.partition_subtype, getattr(args, 'part_list', None))
|
||||
elif args.partition_boot_default:
|
||||
partition_id = PARTITION_BOOT_DEFAULT
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user