projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fbfd9f
)
fuse/runtests: include length in drepr() output
author
robk-tahoe
<robk-tahoe@allmydata.com>
Tue, 21 Oct 2008 00:01:59 +0000
(17:01 -0700)
committer
robk-tahoe
<robk-tahoe@allmydata.com>
Tue, 21 Oct 2008 00:01:59 +0000
(17:01 -0700)
contrib/fuse/runtests.py
patch
|
blob
|
history
diff --git
a/contrib/fuse/runtests.py
b/contrib/fuse/runtests.py
index 5a94cce832cbaea1189e26f70bc44ffd96aab8fb..38aca2aab1494eccad5514cdedfbbfbc8f9d5a7b 100644
(file)
--- 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