From fafb584ef64d19725e497d357e8363711fea493e Mon Sep 17 00:00:00 2001 From: robk-tahoe Date: Mon, 20 Oct 2008 17:01:59 -0700 Subject: [PATCH] fuse/runtests: include length in drepr() output --- contrib/fuse/runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2