forked from External/ergo
refactor cap line splitting
This commit is contained in:
parent
b7076f4c9e
commit
a75d26a46b
5 changed files with 126 additions and 83 deletions
|
|
@ -180,6 +180,7 @@ CAPDEFS = [
|
|||
]
|
||||
|
||||
def validate_defs():
|
||||
CAPDEFS.sort(key=lambda d: d.name)
|
||||
numCaps = len(CAPDEFS)
|
||||
numNames = len(set(capdef.name for capdef in CAPDEFS))
|
||||
if numCaps != numNames:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue