summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-24 22:13:03 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-24 22:13:03 +0200
commite7edef63b1f9d35d3504b9bcbd59d6331fe716b8 (patch)
tree6a6e993ba04f94cfdd4465ac1a94fd7194671122 /testxml
parentc37426b9b18a135b7a5b6cfb20b714b6f3c9c2f5 (diff)
downloadevol-tools-e7edef63b1f9d35d3504b9bcbd59d6331fe716b8.tar.gz
evol-tools-e7edef63b1f9d35d3504b9bcbd59d6331fe716b8.tar.bz2
evol-tools-e7edef63b1f9d35d3504b9bcbd59d6331fe716b8.tar.xz
evol-tools-e7edef63b1f9d35d3504b9bcbd59d6331fe716b8.zip
textxml: trim tiles list to 100 points.
Diffstat (limited to 'testxml')
-rwxr-xr-xtestxml/testxml.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index fa1a819..df4f30a 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -1093,8 +1093,13 @@ def testMap(file, path):
def showLayerErrors(file, points, msg, iserr):
txt = ""
+ cnt = 0
for point in points:
txt = txt + " " + str(point) + ","
+ cnt = cnt + 1
+ if cnt > 100:
+ txt = txt + " ... "
+ break
showMsgFile(file, msg + txt[0:len(txt)-1], iserr)