[node-patches] Change in ovirt-node[master]: status: Fix Hostkey dialog

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Dec 11 20:09:43 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: status: Fix Hostkey dialog
......................................................................

status: Fix Hostkey dialog

Change-Id: I41da4d5f0a566c577f5c1109318d3e44581534b9
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/setup/status_page.py
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/67/9967/1

diff --git a/scripts/tui/src/ovirt/node/setup/status_page.py b/scripts/tui/src/ovirt/node/setup/status_page.py
index fde8245..f48d2fe 100644
--- a/scripts/tui/src/ovirt/node/setup/status_page.py
+++ b/scripts/tui/src/ovirt/node/setup/status_page.py
@@ -64,6 +64,9 @@
             "libvirt.num_guests": num_domains,
         }
 
+    def validators(self):
+        return {}
+
     def ui_content(self):
         """Describes the UI this plugin requires
         This is an ordered list of (path, widget) tuples.
@@ -148,7 +151,7 @@
 
     def _build_hostkey_dialog(self):
         fp, hk = ovirt.node.utils.security.get_ssh_hostkey()
-        return self._build_dialog("dialog.hostkey", "Host Key", [
+        dialog = self._build_dialog("dialog.hostkey", "Host Key", [
             ("hostkey.fp._label",
                 ovirt.node.ui.Label("RSA Host Key Fingerprint:")),
             ("hostkey.fp",
@@ -161,3 +164,5 @@
             ("hostkey",
                 ovirt.node.ui.Label("\n".join(textwrap.wrap(hk, 64)))),
         ])
+        dialog.buttons = []
+        return dialog


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I41da4d5f0a566c577f5c1109318d3e44581534b9
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