Indent the sub items in the wiki grabber.

This commit is contained in:
Mark de Wever 2009-08-19 20:27:03 +00:00
parent 0f3bd1ed69
commit 2c3a3dace5

View file

@ -291,11 +291,7 @@ if __name__ == "__main__":
result = '{| border="1"'
result += "\n!ID (return value)\n!Type\n!Mandatory\n!Description\n"
for i in range(len(res)):
result += "|-\n"
if(res[i][2] == ""):
result += "|"
else:
result += "| " + res[i][2] + " "
result += "|-\n| " + " " * len(res[i][0]) * 8 + res[i][2] + " "
if(res[i][4] == ""):
result += "\n"