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-4.0-testing] xm: catch TypeError if xenconsole is n

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] xm: catch TypeError if xenconsole is nonexistent
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 00:41:24 -0700
Delivery-date: Fri, 14 May 2010 00:46:04 -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 1273481077 -3600
# Node ID a95080796d19fc16320f8c771ba7ccaa1cc96d71
# Parent  eb8c95e9b91af7f10be5a00e4c70e83c08ee9958
xm: catch TypeError if xenconsole is nonexistent

Signed-off-by: Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
xen-unstable changeset:   21258:31a6937e2359
xen-unstable date:        Tue May 04 12:10:54 2010 +0100
---
 tools/python/xen/util/auxbin.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r eb8c95e9b91a -r a95080796d19 tools/python/xen/util/auxbin.py
--- a/tools/python/xen/util/auxbin.py   Mon May 10 09:44:07 2010 +0100
+++ b/tools/python/xen/util/auxbin.py   Mon May 10 09:44:37 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-4.0-testing] xm: catch TypeError if xenconsole is nonexistent, Xen patchbot-4.0-testing <=