aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-11-29 19:45:53 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-11-29 19:45:53 +0100
commitfe0c255ef6491e6a3de601f794deae871f5074af (patch)
treed4bb2aa9c2dd26b162540122c546eb75ce7d8420
parentaad29188ffc60b9b687ae8d6431f9d055af17f29 (diff)
downloadmgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar
mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar.gz
mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar.bz2
mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.tar.xz
mgarepo-fe0c255ef6491e6a3de601f794deae871f5074af.zip
Clen code
-rw-r--r--MgaRepo/util.py3
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