From 418cbe2e175bbf4dc18809b48615a19317f52e66 Mon Sep 17 00:00:00 2001 From: anthony Date: Wed, 13 Jun 2012 19:25:48 -0700 Subject: [PATCH] VPC : fixed get_domr_version --- scripts/vm/hypervisor/xenserver/vmops | 3 ++- wscript | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/vm/hypervisor/xenserver/vmops b/scripts/vm/hypervisor/xenserver/vmops index 51627a84e28..b34af60e5f9 100755 --- a/scripts/vm/hypervisor/xenserver/vmops +++ b/scripts/vm/hypervisor/xenserver/vmops @@ -302,7 +302,8 @@ def routerProxy(session, args): cmd.insert(0, "/bin/bash") try: txt = util.pread2(cmd) - txt = 'success' + if txt is None or len(txt) == 0 : + txt = 'success' except: util.SMlog("routerProxy command " + sargs + " failed " ) txt = '' diff --git a/wscript b/wscript index 66cacd8b94b..7d039feb55e 100644 --- a/wscript +++ b/wscript @@ -5,7 +5,7 @@ # if you change 'em here, you need to change it also in cloud.spec, add a %changelog entry there, and add an entry in debian/changelog -VERSION = '3.0.3.2012-06-13T23:38:49Z' +VERSION = '3.0.3.2012-06-14T02:14:58Z' APPNAME = 'cloud' import shutil,os