[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Use get_config_string for 'keymap' and 'resource-label-change-script'.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.