integration/soc_core: Add default value to soc_core_argdict/ident_version.

This commit is contained in:
Florent Kermarrec 2022-11-30 08:46:42 +01:00
parent 310bc777b4
commit c0f31dc843
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ def soc_core_argdict(args):
arg = not getattr(args, a.replace("with", "no"), True) arg = not getattr(args, a.replace("with", "no"), True)
# Handle specific ident_version case (--no-ident-version is exposed). # Handle specific ident_version case (--no-ident-version is exposed).
elif a in ["ident_version"]: elif a in ["ident_version"]:
arg = not getattr(args, "no_ident_version") arg = not getattr(args, "no_ident_version", True)
# Regular cases. # Regular cases.
else: else:
arg = getattr(args, a, None) arg = getattr(args, a, None)