Fixed an issue when expecting may be, but getting maybe (#44908)
Tested an install on a Nexus 5596 and was failing due that this model will send an output of "Another install procedure maybe in progress" when running the show install all while the install is running. This is how the module knows that an install is being processed. In my case, it will not match that conditional statement.
This commit is contained in:
parent
0ad262e3ec
commit
25563dc7cf
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ def parse_show_install(data):
|
|||
break
|
||||
|
||||
# Check for potentially transient conditions
|
||||
if re.search(r'Another install procedure may be in progress', x):
|
||||
if re.search(r'Another install procedure may\s*be in progress', x):
|
||||
ud['install_in_progress'] = True
|
||||
break
|
||||
if re.search(r'Backend processing error', x):
|
||||
|
|
Loading…
Reference in a new issue