FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > EPEL Development

 
 
LinkBack Thread Tools
 
Old 05-20-2010, 03:22 PM
Ales Kozumplik
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-20-2010, 06:22 PM
"Brian C. Lane"
 
Default logging: use stderr parameter in execWithCallback().

-----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



- --
Brian C. Lane <bcl@redhat.com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS/V96RF+jBaO/jp/AQKAqAf+NAD7+RZP1J3WWJcA7YrIjYlxGnSOihZ8
B3MUKzxXcKiKFKy5TyfOeyul7BMBERN7yX9VUl05YpXg/IpuJIldMCAGcgFecFXP
EHdqFZBJrnoem5IOSWxrBV/KDTQMsYK9Cmythjfk5abIr546mCbSfA2YYa5HRSZl
Bm0yuCpp2IlB2qjUQZJesUsF2hTrN8FWAth5FWogDZcVb99xeg lgJjtgFJVjRD9w
OIEa42siJeNNaNzQtLZU78qtDeCpX9z0m/Y5Li41TOH967FgRmBRVk7kfKtmVKWX
dD89cMrmJFLOlJf2cBWGL87HgHq3VtLvUnDKR/Bpswv7laj2R6i4rw==
=PTvl
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-24-2010, 11:46 AM
Ales Kozumplik
 
Default 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!

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org