[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xm: catch TypeError if xenconsole is nonexistent
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |