Skip to content

Commit 25be4a9

Browse files
committed
Fix docstring
1 parent 8fd7e11 commit 25be4a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netmiko/nokia/nokia_srl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ def session_preparation(self) -> None:
5454
self.set_base_prompt()
5555

5656
def strip_prompt(self, *args: Any, **kwargs: Any) -> str:
57-
"""Strip the line1 of multiline prompt from the output."""
57+
"""Strip the prompt and the additional context line"""
5858
a_string = super().strip_prompt(*args, **kwargs)
5959
return self._strip_context_items(a_string)
6060

6161
def _strip_context_items(self, a_string: str) -> str:
6262
"""Strip NokiaSRL-specific output.
6363
64-
Nokia will put extra context is line 1 of the prompt, such as:
64+
Nokia will put extra context in the 1st line of the prompt, such as:
6565
--{ running }--[ ]--
6666
--{ candidate private private-admin }--[ ]--
6767
--{ candidate private private-admin }--[ ]--

0 commit comments

Comments
 (0)