WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xm: catch TypeError if xenconsole is none

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm: catch TypeError if xenconsole is nonexistent
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 May 2010 13:20:36 -0700
Delivery-date: Tue, 04 May 2010 13:24:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1272971454 -3600
# Node ID 31a6937e2359ffcbf973a9c2fa95879a02880bbe
# Parent  893bcbc9df8ebb879b981d9b251a33f83b513405
xm: catch TypeError if xenconsole is nonexistent

Signed-off-by: Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
---
 tools/python/xen/util/auxbin.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 893bcbc9df8e -r 31a6937e2359 tools/python/xen/util/auxbin.py
--- a/tools/python/xen/util/auxbin.py   Tue May 04 12:09:48 2010 +0100
+++ b/tools/python/xen/util/auxbin.py   Tue May 04 12:10:54 2010 +0100
@@ -28,7 +28,7 @@ def execute(exe, args = None):
         a.extend(args)
     try:
         os.execv(exepath, a)
-    except OSError, exn:
+    except (OSError, TypeError), exn:
         print exepath, ": ", exn
         sys.exit(1)
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xm: catch TypeError if xenconsole is nonexistent, Xen patchbot-unstable <=