Commit 330524ad authored by cclauss's avatar cclauss

Changed if len(history): to if history:

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