wmllint: Add a small comment block

This is documentation for e1852e6854.
This commit is contained in:
Ignacio R. Morelle 2014-02-20 04:33:27 -03:00
parent e1852e6854
commit dd4dc91a9e

View file

@ -2688,6 +2688,8 @@ if __name__ == '__main__':
if "wmllint: noconvert" not in original:
for (old, new) in linechanges + mapchanges:
line = line.replace(old, new)
# Perform any base terrain string conversions needed in
# [terrain_type]aliasof= attributes.
if under("terrain_type"):
match = re.search(r"\baliasof\s*=(.*)$", line)
if match: