Kill mcp's truncate method, for more useful logs.
This commit is contained in:
parent
e33a1a02bf
commit
09cf5feee5
1 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,16 @@
|
||||||
--- commands.py
|
--- commands.py
|
||||||
+++ commands.py
|
+++ commands.py
|
||||||
|
@@ -126,8 +126,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
def truncate(text, length):
|
||||||
|
- if len(text) > length:
|
||||||
|
- return text[:length] + '...'
|
||||||
|
+ #if len(text) > length:
|
||||||
|
+ # return text[:length] + '...'
|
||||||
|
return text
|
||||||
|
|
||||||
|
|
||||||
@@ -139,6 +139,8 @@
|
@@ -139,6 +139,8 @@
|
||||||
fieldnames = csvreader.fieldnames
|
fieldnames = csvreader.fieldnames
|
||||||
return set(fieldnames)
|
return set(fieldnames)
|
||||||
|
|
Loading…
Reference in a new issue