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

[Xen-changelog] [xen-unstable] Fix diagnosis of unhandled exceptions.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1175072672 -3600
# Node ID 8a3b9908fd75928bdeab9561f0c989e43dc222b8
# Parent  81fec499a9831370e40aa39a18b5f906b7c67ff0
Fix diagnosis of unhandled exceptions.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xm/main.py |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff -r 81fec499a983 -r 8a3b9908fd75 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Wed Mar 28 08:44:08 2007 +0000
+++ b/tools/python/xen/xm/main.py       Wed Mar 28 10:04:32 2007 +0100
@@ -2371,11 +2371,10 @@ def _run_cmd(cmd, cmd_name, args):
            if isinstance(e, security.ACMError):
                err(str(e))
                return False, 1
-        else:
-            print "Unexpected error:", sys.exc_info()[0]
-            print
-            print "Please report to xen-devel@xxxxxxxxxxxxxxxxxxx"
-            raise
+        print "Unexpected error:", sys.exc_info()[0]
+        print
+        print "Please report to xen-devel@xxxxxxxxxxxxxxxxxxx"
+        raise
 
     return False, 1
 

_______________________________________________
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®.