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.
pull/4420/head
amb1s1 2018-09-05 09:45:06 -04:00 committed by Deepak Agrawal
parent 0ad262e3ec
commit 25563dc7cf
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ def parse_show_install(data):
break break
# Check for potentially transient conditions # 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 ud['install_in_progress'] = True
break break
if re.search(r'Backend processing error', x): if re.search(r'Backend processing error', x):