Fixed an issue where terrain2wiki.py...

...would not remove # wmllint: ignore from output
This commit is contained in:
Thibault Févry 2011-10-23 19:49:27 +00:00
parent 1b8718c457
commit 3bce1693c2

View file

@ -65,7 +65,7 @@ def parse_terrain(data):
| %s
""" % (
content['editor_name'][4:-1] if 'editor_name' in content else content['name'][4:-1],
content['string'].lstrip(" # wmllint: ignore"),
content['string'].replace("# wmllint: ignore", ""),
content['aliasof'] if 'aliasof' in content else "",
content['editor_group'])