forked from M-Labs/artiq
tools/short_format: increase max string length
This commit is contained in:
parent
d7b41207da
commit
661b9bfbfa
|
@ -52,7 +52,7 @@ def short_format(v):
|
||||||
if t is bool or np.issubdtype(t, int) or np.issubdtype(t, float):
|
if t is bool or np.issubdtype(t, int) or np.issubdtype(t, float):
|
||||||
return str(v)
|
return str(v)
|
||||||
elif t is str:
|
elif t is str:
|
||||||
return "\"" + elide(v, 15) + "\""
|
return "\"" + elide(v, 50) + "\""
|
||||||
else:
|
else:
|
||||||
r = t.__name__
|
r = t.__name__
|
||||||
if t is list or t is dict or t is set:
|
if t is list or t is dict or t is set:
|
||||||
|
|
Loading…
Reference in New Issue