[feaLib.builder] do not make <NULL> ValueRecord
This commit is contained in:
parent
091b05296d
commit
23f0b5f5b1
@ -1114,7 +1114,7 @@ _VALUEREC_ATTRS = {
|
|||||||
|
|
||||||
def makeOpenTypeValueRecord(v, pairPosContext):
|
def makeOpenTypeValueRecord(v, pairPosContext):
|
||||||
"""ast.ValueRecord --> (otBase.ValueRecord, int ValueFormat)"""
|
"""ast.ValueRecord --> (otBase.ValueRecord, int ValueFormat)"""
|
||||||
if v is None:
|
if not v:
|
||||||
return None, 0
|
return None, 0
|
||||||
|
|
||||||
vr = {}
|
vr = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user