ia64/xen-unstable

changeset 6395:46d8c50b7a1c

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@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Aug 24 15:46:32 2005 +0000 (2005-08-24)
parents c42a9e2f6c5b
children d1ac7c6ffb63
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed Aug 24 15:22:44 2005 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Wed Aug 24 15:46:32 2005 +0000
     1.3 @@ -666,7 +666,7 @@ def main(argv=sys.argv):
     1.4              sys.exit(1)
     1.5          except XendError, ex:
     1.6              if len(args) > 0:
     1.7 -                handle_xend_error(argv[1], args[0], ex)
     1.8 +                handle_xend_error(argv[1], args[1], ex)
     1.9              else:
    1.10                  print "Unexpected error:", sys.exc_info()[0]
    1.11                  print