[node-patches] Change in ovirt-node[master]: ui: Use default when no kbd layout is set

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Dec 9 14:37:29 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: ui: Use default when no kbd layout is set
......................................................................

ui: Use default when no kbd layout is set

Change-Id: I6bcc3f8160ca128b9ff27cc01e45f746157b3d5d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1032228
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/installer/core/keyboard_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/04/22204/1

diff --git a/src/ovirt/node/installer/core/keyboard_page.py b/src/ovirt/node/installer/core/keyboard_page.py
index ff35676..55b319d 100644
--- a/src/ovirt/node/installer/core/keyboard_page.py
+++ b/src/ovirt/node/installer/core/keyboard_page.py
@@ -45,7 +45,7 @@
 
     def ui_content(self):
         kbd = system.Keyboard()
-        c = kbd.get_current()
+        c = kbd.get_current() or ""
         self.logger.debug("Current layout: %s" % c)
         ws = [ui.Header("header[0]", _("Keyboard Layout Selection")),
               ui.Table("keyboard.layout", "", _("Available Keyboard Layouts"),


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

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