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

[master 3/6] logging: use stderr parameter in execWithCallback().



Ales broke this with 667c563e81b6e07df74bbb48be034539bfffe08b.
---
 iutil.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/iutil.py b/iutil.py
index fc22c76..63582c4 100644
--- a/iutil.py
+++ b/iutil.py
@@ -339,6 +339,8 @@ def execWithCallback(command, argv, stdin = None, stdout = None,
         log_errors += err
         if len(err) < 1:
             break
+
+    os.write(stderr, log_errors);
     map(program_log.error, log_errors.splitlines())
     os.close(p[0])
     os.close(p_stderr[0])
-- 
1.6.6


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