diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 87f5ae29a8..77d647f402 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -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@lists.xensource.com" - raise + print "Unexpected error:", sys.exc_info()[0] + print + print "Please report to xen-devel@lists.xensource.com" + raise return False, 1