Good thing I did a commit at toplevel,
...not only was mapsize making wmllint choke and we almost missed a portait reference change!
This commit is contained in:
parent
cb0fb1243e
commit
75ad77a227
3 changed files with 4 additions and 14 deletions
Binary file not shown.
Before Width: | Height: | Size: 47 KiB |
|
@ -140,5 +140,8 @@ and kill or scatter these invaders."
|
|||
description="Aiglondur"
|
||||
message=_"The maker's mark is strange to me. We had best consult the lord Hamel."
|
||||
[/message]
|
||||
[/event]
|
||||
[endlevel]
|
||||
result=victory
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
#
|
||||
import sys
|
||||
|
||||
for filename in sys.argv[1:]:
|
||||
contents = open(filename).read().split("\n")
|
||||
while "," not in contents[0]:
|
||||
contents.pop(0)
|
||||
width = contents[0].count(",")
|
||||
if not contents[0].strip().endswith(","):
|
||||
width += 1
|
||||
height = len(filter(lambda x: "," in x, contents))
|
||||
print "***", filename, width, height, width/5, height/5
|
Loading…
Add table
Reference in a new issue