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