Resolving bug on CNOS Image download on multiple devices.
(cherry picked from commit 1921eaf096
)
This commit is contained in:
parent
6e77a3ac3a
commit
b285dc1f4f
1 changed files with 6 additions and 3 deletions
|
@ -3159,10 +3159,13 @@ def waitForDeviceResponse(command, prompt, timeout, obj):
|
|||
if(gotit != -1):
|
||||
flag = True
|
||||
except:
|
||||
if prompt != "(yes/no)?":
|
||||
retVal = retVal + "\n Error-101"
|
||||
else:
|
||||
# debugOutput(prompt)
|
||||
if prompt == "(yes/no)?":
|
||||
retVal = retVal
|
||||
elif prompt == "Password:":
|
||||
retVal = retVal
|
||||
else:
|
||||
retVal = retVal + "\n Error-101"
|
||||
flag = True
|
||||
return retVal
|
||||
# EOM
|
||||
|
|
Loading…
Reference in a new issue