debuggers.hg
changeset 14643:8a3b9908fd75
Fix diagnosis of unhandled exceptions.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author | Ewan Mellor <ewan@xensource.com> |
---|---|
date | Wed Mar 28 10:04:32 2007 +0100 (2007-03-28) |
parents | 81fec499a983 |
children | b7c1b412c472 |
files | tools/python/xen/xm/main.py |
line diff
1.1 --- a/tools/python/xen/xm/main.py Wed Mar 28 08:44:08 2007 +0000 1.2 +++ b/tools/python/xen/xm/main.py Wed Mar 28 10:04:32 2007 +0100 1.3 @@ -2371,11 +2371,10 @@ def _run_cmd(cmd, cmd_name, args): 1.4 if isinstance(e, security.ACMError): 1.5 err(str(e)) 1.6 return False, 1 1.7 - else: 1.8 - print "Unexpected error:", sys.exc_info()[0] 1.9 - print 1.10 - print "Please report to xen-devel@lists.xensource.com" 1.11 - raise 1.12 + print "Unexpected error:", sys.exc_info()[0] 1.13 + print 1.14 + print "Please report to xen-devel@lists.xensource.com" 1.15 + raise 1.16 1.17 return False, 1 1.18