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

[Xen-changelog] Revert changeset a3822cb3b2b3c24e6b46c1fed3e6c366817f52ad.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 46d8c50b7a1cc3a962d36fc92233415198d7624c
# Parent  c42a9e2f6c5b270cbcbfc9b918de9b66750448b3
Revert changeset a3822cb3b2b3c24e6b46c1fed3e6c366817f52ad.
With this changeset the error message is incorrect.
Revert: Fix the exception thrown when doing, for example,
        "xm domid" on a non-existent domain.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r c42a9e2f6c5b -r 46d8c50b7a1c tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Wed Aug 24 15:22:44 2005
+++ b/tools/python/xen/xm/main.py       Wed Aug 24 15:46:32 2005
@@ -666,7 +666,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®.