From: robk-tahoe Date: Tue, 21 Oct 2008 00:01:59 +0000 (-0700) Subject: fuse/runtests: include length in drepr() output X-Git-Url: https://git.rkrishnan.org/vdrive/configuration.txt?a=commitdiff_plain;h=fafb584ef64d19725e497d357e8363711fea493e;p=tahoe-lafs%2Ftahoe-lafs.git fuse/runtests: include length in drepr() output --- diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py index 5a94cce8..38aca2aa 100644 --- a/contrib/fuse/runtests.py +++ b/contrib/fuse/runtests.py @@ -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