ia64/xen-unstable

changeset 6090:50e57636bdd8

Fix simple index error in error handling. Now reports correct domain name in error message.
author twilkie@paploo.uk.xensource.com
date Wed Aug 10 12:21:39 2005 +0000 (2005-08-10)
parents d74e320900fd
children 7c9513a80026
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed Aug 10 09:50:15 2005 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Wed Aug 10 12:21:39 2005 +0000
     1.3 @@ -651,7 +651,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