[node-patches] Change in ovirt-node[node-3.0]: setup: Also show STDERR lines in dialog

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue May 21 14:42:22 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: setup: Also show STDERR lines in dialog
......................................................................

setup: Also show STDERR lines in dialog

Previously any data written to stdout wasn't shown in the dialog showing
the cmd contents, now also STDERR is shown in the dialog.

Change-Id: I485a0556fd952de6d366375084f87048d4d1b598
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/setup/diagnostics_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/43/14943/1

diff --git a/src/ovirt/node/setup/diagnostics_page.py b/src/ovirt/node/setup/diagnostics_page.py
index 3c7e4a3..f1972e2 100644
--- a/src/ovirt/node/setup/diagnostics_page.py
+++ b/src/ovirt/node/setup/diagnostics_page.py
@@ -74,7 +74,7 @@
                              in self.__diagnostics())
             cmd = cmds.get(changes[changed_field], None)
             if cmd:
-                contents = process.check_output(cmd)
+                contents = process.check_output(cmd, stderr=process.STDOUT)
                 return ui.TextViewDialog("output.dialog", "Command Output",
                                          contents)
 


--
To view, visit http://gerrit.ovirt.org/14943
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I485a0556fd952de6d366375084f87048d4d1b598
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list