render: ellipsis formatting

This commit is contained in:
William Ballenthin
2020-06-28 09:39:52 -06:00
parent 617b55ae3c
commit d04c9db399

View File

@@ -62,7 +62,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(', ...')
else:
ostream.write(', '.join(map(rutils.hex, locations)))