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

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



On 05/20/2010 08:22 PM, Brian C. Lane wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/20/2010 08:22 AM, Ales Kozumplik wrote:
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);
                                    ^
Stray Semicolon :)


Indeed, thanks!


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