render: hint number of hidden locations

This commit is contained in:
William Ballenthin
2020-06-28 09:55:08 -06:00
parent 1d00f188f1
commit c55ce3c1f0

View File

@@ -66,7 +66,7 @@ def render_feature(ostream, match, feature, indent=0):
# don't display too many locations, because it becomes very noisy.
# probably only the first handful of locations will be useful for inspection.
ostream.write(', '.join(map(rutils.hex, locations[0:4])))
ostream.write(', ...')
ostream.write(', and %d more...' % (len(locations) - 4))
else:
ostream.write(', '.join(map(rutils.hex, locations)))