xend: remove non-ASCII characters
PATCH 1/1 xend: remove non-ASCII characters
Hi!
Remove non-ASCII characters.
This makes xend starting again.
Signed-off-by Christoph Egger <[email protected]>
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
@@ -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
Stefano Stabellini
AppliedQuoted 8 lines · Christoph Egger
Hi!
Remove non-ASCII characters.
This makes xend starting again.Signed-off-by Christoph Egger <[email protected]>
Applied, thanks.
I take this opportunity to ask contributors not to use html emails.