[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID a3822cb3b2b3c24e6b46c1fed3e6c366817f52ad # Parent f34e732ed4bfd24f2ab33f5d5ad72ba1635141a4 Fix the exception thrown when doing, for example, "xm domid" on a non-existent domain. Signed-off-by: Dan Smith <danms@xxxxxxxxxx> Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r f34e732ed4bf -r a3822cb3b2b3 tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Tue Aug 23 19:58:59 2005 +++ b/tools/python/xen/xm/main.py Wed Aug 24 08:28:50 2005 @@ -666,7 +666,7 @@ sys.exit(1) except XendError, ex: if len(args) > 0: - handle_xend_error(argv[1], args[1], ex) + handle_xend_error(argv[1], args[0], ex) else: print "Unexpected error:", sys.exc_info()[0] print _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |