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

[Xen-changelog] [xen-unstable] xend: remove non-ASCII characters.



# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1282055016 -3600
# Node ID c82f7f4ee9b7e73642b6f01dc4426f64e61f8585
# Parent  e87c73b32c1b4cd9d1a6ca9064c6be7113e5fc12
xend: remove non-ASCII characters.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
committer: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff -r e87c73b32c1b -r c82f7f4ee9b7 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Mon Aug 16 15:31:05 2010 +0100
+++ b/tools/python/xen/xend/XendConfig.py       Tue Aug 17 15:23:36 2010 +0100
@@ -686,12 +686,12 @@ class XendConfig(dict):
         # Convert scheduling parameters to vcpus_params
         if 'vcpus_params' not in cfg:
             cfg['vcpus_params'] = {}
-        if not cfg["vcpus_params"].has_key("weight"):
-            cfg["vcpus_params"]["weight"] = \
-                int(sxp.child_value(sxp_cfg, "cpu_weight", 256))
-        if not cfg["vcpus_params"].has_key("cap"):
-            cfg["vcpus_params"]["cap"] = \
-                int(sxp.child_value(sxp_cfg, "cpu_cap", 0))
+        if not cfg["vcpus_params"].has_key("weight"):
+            cfg["vcpus_params"]["weight"] = \
+                int(sxp.child_value(sxp_cfg, "cpu_weight", 256))
+        if not cfg["vcpus_params"].has_key("cap"):
+            cfg["vcpus_params"]["cap"] = \
+                int(sxp.child_value(sxp_cfg, "cpu_cap", 0))
 
         # Only extract options we know about.
         extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG + \

_______________________________________________
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®.