[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix simple index error in error handling. Now reports correct domain name in error message.



# HG changeset patch
# User twilkie@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID 50e57636bdd817f51624e40611a77036d2073e23
# Parent  d74e320900fdf06e8d6ed798b31f10dd210ae1c8
Fix simple index error in error handling.  Now reports correct domain name in 
error message.

diff -r d74e320900fd -r 50e57636bdd8 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Wed Aug 10 09:50:15 2005
+++ b/tools/python/xen/xm/main.py       Wed Aug 10 12:21:39 2005
@@ -651,7 +651,7 @@
             sys.exit(1)
         except XendError, ex:
             if len(args) > 0:
-                handle_xend_error(argv[1], args[0], ex)
+                handle_xend_error(argv[1], args[1], ex)
             else:
                 print "Unexpected error:", sys.exc_info()[0]
                 print

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.