diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2015-11-29 19:45:53 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2015-11-29 19:45:53 +0100 |
commit | fe0c255ef6491e6a3de601f794deae871f5074af (patch) | |
tree | d4bb2aa9c2dd26b162540122c546eb75ce7d8420 /MgaRepo | |
parent | aad29188ffc60b9b687ae8d6431f9d055af17f29 (diff) | |
download | mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar.gz mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar.bz2 mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar.xz mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.zip |
Clen code
Diffstat (limited to 'MgaRepo')
-rw-r--r-- | MgaRepo/util.py | 3 |
1 files changed, 0 insertions, 3 deletions
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 |