[node-patches] Change in ovirt-node[master]: ping: Don't record route to fit on small screens

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Feb 5 16:43:23 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: ping: Don't record route to fit on small screens
......................................................................

ping: Don't record route to fit on small screens

Change-Id: I6e1b5e147e510c070dc57f66a3333dbf0ba9b8ee
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/setup/ping.py
M scripts/tui/src/ovirt/node/ui/urwid_builder.py
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/57/11757/1

diff --git a/scripts/tui/src/ovirt/node/setup/ping.py b/scripts/tui/src/ovirt/node/setup/ping.py
index cc2b18d..45f0b5e 100644
--- a/scripts/tui/src/ovirt/node/setup/ping.py
+++ b/scripts/tui/src/ovirt/node/setup/ping.py
@@ -106,7 +106,7 @@
             if valid.IPv6Address().validate(addr):
                 cmd = "ping6"
 
-            cmd = "%s -R -c %s %s" % (cmd, count, addr)
+            cmd = "%s -c %s %s" % (cmd, count, addr)
             out = ""
             current = 0
             for line in process.pipe_async(cmd):
diff --git a/scripts/tui/src/ovirt/node/ui/urwid_builder.py b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
index 9c0bd7e..d46dd6a 100644
--- a/scripts/tui/src/ovirt/node/ui/urwid_builder.py
+++ b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
@@ -519,6 +519,7 @@
 
     def force_redraw(self):
         if self.__loop:
+            self.logger.debug("Redrawing screen")
             self.__loop.draw_screen()
 
     def size(self):


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

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



More information about the node-patches mailing list