Merge pull request #2459 from ethereum/pyspec-build-var-fix

Pyspec builder internal config formatting fix
This commit is contained in:
Diederik Loerakker 2021-05-31 15:28:54 +02:00 committed by GitHub
commit d857935d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ def objects_to_spec(preset_name: str,
def format_config_var(name: str, vardef: VariableDefinition) -> str:
if vardef.type_name is None:
out = f'{name}={vardef.value}'
out = f'{name}={vardef.value},'
else:
out = f'{name}={vardef.type_name}({vardef.value}),'
if vardef.comment is not None: