[node-patches] Change in ovirt-node[master]: fix cancel button action on ping test window
jboggs at redhat.com
jboggs at redhat.com
Fri Oct 19 17:28:33 UTC 2012
Joey Boggs has uploaded a new change for review.
Change subject: fix cancel button action on ping test window
......................................................................
fix cancel button action on ping test window
rhbz#868200
Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: I64c35f437a7f847a59814a07b6f434f98eeb83e7
---
M scripts/ovirt-config-setup.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/83/8683/1
diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py
index 1180bf2..22c75a1 100755
--- a/scripts/ovirt-config-setup.py
+++ b/scripts/ovirt-config-setup.py
@@ -2024,7 +2024,7 @@
ping_window = EntryWindow(self.screen, 'Network Ping Test', 'Enter Host to Ping', ['Host:'])
res = ping_window[1]
host = res[0]
- if len(host) > 0:
+ if len(host) > 0 and ping_window == "ok":
cmd = "ping -c 3 %s" % host
gridform = GridForm(self.screen, "", 1, 1)
gridform.add(Label("Performing Ping Test"), 0, 0)
--
To view, visit http://gerrit.ovirt.org/8683
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I64c35f437a7f847a59814a07b6f434f98eeb83e7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
More information about the node-patches
mailing list