From fe0c255ef6491e6a3de601f794deae871f5074af Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 29 Nov 2015 19:45:53 +0100 Subject: Clen code --- MgaRepo/util.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'MgaRepo') diff --git a/MgaRepo/util.py b/MgaRepo/util.py index 15eee58..ea2214d 100644 --- a/MgaRepo/util.py +++ b/MgaRepo/util.py @@ -30,14 +30,11 @@ def commands_exec(cmdstr, **kwargs): if of in r: odata = os.read(of, 8192) out.write(odata) - #sys.stdout.buffer.write(odata) - edata = None if ef in r: edata = os.read(ef, 8192) err.write(edata) sys.stderr.buffer.write(edata) - status = p.poll() if status is not None and odata == b'' and edata == b'': break -- cgit v1.2.1