def attach(dname='REDHAWK_DEV', debug=False):
global dom
try :
olist, a= getopt.gnu_getopt(sys.argv,"d:")
d=filter(lambda x: x[0] == '-d', olist )[0]
dname=d[1]
sys.argv=a
except:
pass
print "Attach:"+str(dname)
dom=redhawk.attach(dname )
if debug:
redhawk.setDebug(true)
评论列表
文章目录