VPC : fixed get_domr_version

This commit is contained in:
anthony 2012-06-13 19:25:48 -07:00 committed by Alena Prokharchyk
parent 38215583ea
commit 418cbe2e17
2 changed files with 3 additions and 2 deletions

View File

@ -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 = ''

View File

@ -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