Skip to content
Snippets Groups Projects
Commit 330524ad authored by cclauss's avatar cclauss
Browse files

Changed if len(history): to if history:

parent 85bddf8f
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ def run(command, data=None, timeout=None, env=None):
history = []
for c in command:
if len(history):
if history:
# due to broken pipe problems pass only first 10MB
data = history[-1].std_out[0:10*1024]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment