[otBase] Add comment based on review feedback
This commit is contained in:
parent
d6482c9b32
commit
87ddb244ea
@ -1146,6 +1146,9 @@ class BaseTable(object):
|
||||
except KeyError:
|
||||
raise # XXX on KeyError, raise nice error
|
||||
value = conv.xmlRead(attrs, content, font)
|
||||
# Some manually-written tables have a conv.repeat of ""
|
||||
# to represent lists. Hence comparing to None here to
|
||||
# allow those lists to be read correctly from XML.
|
||||
if conv.repeat is not None:
|
||||
seq = getattr(self, conv.name, None)
|
||||
if seq is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user