[tor-commits] [chutney/master] Remove the bufsize argument

nickm at torproject.org nickm at torproject.org
Thu Apr 23 17:58:33 UTC 2020


commit 181466b999ab8f0547d766d9e84570cb0d08b1a0
Author: MrSquanchee <usuraj35 at gmail.com>
Date:   Thu Apr 23 17:30:28 2020 +0530

    Remove the bufsize argument
    
    From subprocess.check_output() in run_tor().
---
 lib/chutney/TorNet.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py
index 6b5b88e..70b302b 100644
--- a/lib/chutney/TorNet.py
+++ b/lib/chutney/TorNet.py
@@ -244,8 +244,7 @@ def run_tor(cmdline, exit_on_missing=True):
     try:
         stdouterr = subprocess.check_output(cmdline,
                                             stderr=subprocess.STDOUT,
-                                            universal_newlines=True,
-                                            bufsize=-1)
+                                            universal_newlines=True)
         debug(stdouterr)
     except OSError as e:
         # only catch file not found error





More information about the tor-commits mailing list