All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix error handler index in xm
@ 2005-08-23 20:15 Dan Smith
  2005-08-24  8:29 ` Christian Limpach
  2005-08-24 15:48 ` Christian Limpach
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Smith @ 2005-08-23 20:15 UTC (permalink / raw)
  To: List: Xen Developers

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

This patch fixes a typo in xm's main.py.  This fixes the exception
thrown when doing, for example, "xm domid" on a non-existent domain.

Signed-off-by: Dan Smith <danms@us.ibm.com>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: xm.patch --]
[-- Type: text/x-patch, Size: 492 bytes --]

diff -r 522bc50588ed tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py	Tue Aug 23 18:27:22 2005
+++ b/tools/python/xen/xm/main.py	Tue Aug 23 13:02:58 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

[-- Attachment #3: Type: text/plain, Size: 89 bytes --]


-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@us.ibm.com


[-- Attachment #4: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-25  9:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 20:15 [PATCH] fix error handler index in xm Dan Smith
2005-08-24  8:29 ` Christian Limpach
2005-08-24 15:48 ` Christian Limpach
2005-08-24 17:07   ` Dan Smith
2005-08-25  9:56     ` Christian Limpach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.