Address bug #12091.
This commit is contained in:
parent
f04a347b02
commit
7e24bcbeea
1 changed files with 1 additions and 1 deletions
|
@ -925,7 +925,7 @@ def sanity_check(filename, lines):
|
|||
if key == "id":
|
||||
if in_person:
|
||||
present.append(value)
|
||||
elif value in ('narrator', 'unit', 'second_unit') or value[0] in ("$", "{"):
|
||||
elif value in ('narrator', 'unit', 'second_unit') or (value and value[0] in ("$", "{")):
|
||||
continue
|
||||
elif preamble_seen and not ignore_id and not in_object and not value in present:
|
||||
print '"%s", line %d: unknown \'%s\' referred to by id' \
|
||||
|
|
Loading…
Add table
Reference in a new issue