mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 19:34:18 +00:00
fuse/runtests: include length in drepr() output
This commit is contained in:
parent
3fbfd9fce3
commit
fafb584ef6
@ -162,7 +162,7 @@ def run_system_test(config):
|
||||
def drepr(obj):
|
||||
r = repr(obj)
|
||||
if len(r) > 200:
|
||||
return r[:100] + ' ... ' + r[-100:]
|
||||
return '%s ... %s [%d]' % (r[:100], r[-100:], len(r))
|
||||
else:
|
||||
return r
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user