From 330524adbac79614423ca7c24616e6e4e44bb6b4 Mon Sep 17 00:00:00 2001 From: cclauss <cclauss@bluewin.ch> Date: Sun, 11 May 2014 22:47:30 +0200 Subject: [PATCH] Changed if len(history): to if history: --- test/distutils/envoy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/distutils/envoy.py b/test/distutils/envoy.py index 56024873..3a654156 100644 --- a/test/distutils/envoy.py +++ b/test/distutils/envoy.py @@ -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] -- GitLab