mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 05:05:00 -05:00
Merge pull request #2354 from ethereum/ralexstokes-patch-1
Simplify spec comment processing
This commit is contained in:
5
setup.py
5
setup.py
@@ -165,9 +165,8 @@ def get_spec(file_name: str) -> SpecObject:
|
||||
custom_types[name] = value
|
||||
elif isinstance(child, LinkRefDef):
|
||||
comment = _get_eth2_spec_comment(child)
|
||||
if comment:
|
||||
if comment == "skip":
|
||||
should_skip = True
|
||||
if comment == "skip":
|
||||
should_skip = True
|
||||
|
||||
return SpecObject(
|
||||
functions=functions,
|
||||
|
||||
Reference in New Issue
Block a user