[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [TOOLS] Treat '--' command-line split option correctly.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID c2e8e9b1e19242477de1a0b78bdc64b6e08da202 # Parent 94e354294cca7ce0c4f1b7ae2ec5eb62ddac71ac [TOOLS] Treat '--' command-line split option correctly. Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> --- tools/python/xen/xm/main.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 94e354294cca -r c2e8e9b1e192 tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Thu Jun 22 14:12:01 2006 +0100 +++ b/tools/python/xen/xm/main.py Thu Jun 22 15:09:48 2006 +0100 @@ -276,7 +276,7 @@ for command in all_commands: #################################################################### def arg_check(args, name, lo, hi = -1): - n = len(args) + n = len([i for i in args if i != '--']) if hi == -1: if n != lo: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |