[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 181466b999ab8f0547d766d9e84570cb0d08b1a0
Author: MrSquanchee <usuraj35@xxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits