[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix cpus string parsing, wrt use of ^ to remove elements.
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID 24cc62b429f089000cbb4a147d032955bbfad77d # Parent b3751c780aa5b8f511dffc4114102b4ca110a11b Fix cpus string parsing, wrt use of ^ to remove elements. Patch from Satoshi Uchida <s-uchida@xxxxxxxxxxxxx>. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r b3751c780aa5 -r 24cc62b429f0 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Mon Apr 3 17:32:43 2006 +++ b/tools/python/xen/xend/XendDomainInfo.py Mon Apr 3 17:39:21 2006 @@ -333,7 +333,7 @@ else: # remove this element from the list if c[0] == '^': - cpus = [x for x in cpus if x != int(c[1])] + cpus = [x for x in cpus if x != int(c[1:])] else: cpus.append(int(c)) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |