Fix iosxr get_prompt return value failure (#32902)
This commit is contained in:
parent
49a1472656
commit
9cedb89644
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class ActionModule(_ActionModule):
|
|||
while to_text(out, errors='surrogate_then_replace').strip().endswith(')#'):
|
||||
display.vvvv('wrong context, sending exit to device', self._play_context.remote_addr)
|
||||
conn.send_command('abort')
|
||||
rc, out, err = conn.get_prompt()
|
||||
out = conn.get_prompt()
|
||||
|
||||
result = super(ActionModule, self).run(tmp, task_vars)
|
||||
|
||||
|
|
Loading…
Reference in a new issue