diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 16:33:31 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 16:33:31 -0800 |
commit | af0d1f83a31492afdcd0ed2f0d88436cdd33f929 (patch) | |
tree | 7437dfd2d67bfa517b72c77c68bf389a75bae212 /tools/shared.py | |
parent | 3b3b4bd70a942cb8f047c1ae354cfc52dcdf642b (diff) |
test tweak
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index fe2c50c6..1220f98e 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -97,7 +97,7 @@ def line_splitter(data): return out -def limit_size(string, MAX=800*20): +def limit_size(string, MAX=80*20): if len(string) < MAX: return string return string[0:MAX/2] + '\n[..]\n' + string[-MAX/2:] |