Skip to content

Commit

Permalink
wmllint: Ignore id in [trait] for unit id checks
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Nov 6, 2015
1 parent 437bd79 commit 92760fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/tools/wmllint
Expand Up @@ -1700,7 +1700,7 @@ def global_sanity_check(filename, lines):
present.append(value)
elif value and value[0] in ("$", "{"):
continue
elif preamble_seen and subtag_depth > 0 and not ignore_id and not in_object and not in_cfg and not in_facet and not in_sound_source and not in_remove_sound_source and not in_stage and not in_goal and not in_set_menu_item and not in_clear_menu_item and not directly_in_event[-1] and not in_time_area:
elif preamble_seen and subtag_depth > 0 and not ignore_id and not in_object and not in_cfg and not in_facet and not in_sound_source and not in_remove_sound_source and not in_stage and not in_goal and not in_set_menu_item and not in_clear_menu_item and not directly_in_event[-1] and not in_time_area and not in_trait:
ids = value.split(",")
for j in xrange(len(ids)):
# removal of leading whitespace of items in comma-separated lists
Expand Down

0 comments on commit 92760fe

Please sign in to comment.