修改获取dn逻辑

This commit is contained in:
gyt0221
2021-03-11 15:49:11 +08:00
parent a2dd05c149
commit 2224dabdef

View File

@ -4161,8 +4161,7 @@ class DefaultValue():
try:
primaryFlag = "Primary"
count = 0
while count < 60:
count = 0
while count < 30:
cmd = "source {0} && gs_om -t status --detail".format(
userProfile)
(status, output) = subprocess.getstatusoutput(cmd)