Skip to contentSkip to conversation

xend: remove non-ASCII characters

PATCH Applied Christoph Egger 2 participants 2 messages Aug 17, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xend: remove non-ASCII characters

Hi!

Remove non-ASCII characters.
This makes xend starting again.

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
tools/python/xen/xend/XendConfig.py +6 -6
diff -r 63612398245f tools/python/xen/xend/XendConfig.py
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel