mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
dbd731f86b
commit
0193c4897d
1 file changed
+1
-1
@@ -666,7 +666,7 @@ def main(argv=sys.argv):
|
||||
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
|
||||
|
||||