WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xend: Use get_config_string for 'keymap'

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Use get_config_string for 'keymap' and 'resource-label-change-script'.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Jun 2008 03:40:18 -0700
Delivery-date: Tue, 10 Jun 2008 03:40:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213000971 -3600
# Node ID 041f67ddcd7b2e34e0bd5c4e7c8b260a3a2944be
# Parent  4ecc3ac69819dc6968a3299352f30049415deb46
xend: Use get_config_string for 'keymap' and 'resource-label-change-script'.
Signed-off-by: Juergen Keil <jk@xxxxxxxx>
---
 tools/python/xen/xend/XendOptions.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 4ecc3ac69819 -r 041f67ddcd7b tools/python/xen/xend/XendOptions.py
--- a/tools/python/xen/xend/XendOptions.py      Mon Jun 09 09:42:14 2008 +0100
+++ b/tools/python/xen/xend/XendOptions.py      Mon Jun 09 09:42:51 2008 +0100
@@ -330,10 +330,10 @@ class XendOptions:
                                      self.vncpasswd_default)
 
     def get_keymap(self):
-        return self.get_config_value('keymap', None)
+        return self.get_config_string('keymap', None)
 
     def get_resource_label_change_script(self):
-        s = self.get_config_value('resource-label-change-script')
+        s = self.get_config_string('resource-label-change-script')
         if s:
             result = s.split(" ")
             result[0] = os.path.join(osdep.scripts_dir, result[0])

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Use get_config_string for 'keymap' and 'resource-label-change-script'., Xen patchbot-unstable <=