From 25be4a9d765ab3731d39a3b021d8b11ad45c34a3 Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Fri, 8 Nov 2024 11:56:09 -0800 Subject: [PATCH] Fix docstring --- netmiko/nokia/nokia_srl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netmiko/nokia/nokia_srl.py b/netmiko/nokia/nokia_srl.py index 94dddd4cd..2c7410d8a 100644 --- a/netmiko/nokia/nokia_srl.py +++ b/netmiko/nokia/nokia_srl.py @@ -54,14 +54,14 @@ def session_preparation(self) -> None: self.set_base_prompt() def strip_prompt(self, *args: Any, **kwargs: Any) -> str: - """Strip the line1 of multiline prompt from the output.""" + """Strip the prompt and the additional context line""" a_string = super().strip_prompt(*args, **kwargs) return self._strip_context_items(a_string) def _strip_context_items(self, a_string: str) -> str: """Strip NokiaSRL-specific output. - Nokia will put extra context is line 1 of the prompt, such as: + Nokia will put extra context in the 1st line of the prompt, such as: --{ running }--[ ]-- --{ candidate private private-admin }--[ ]-- --{ candidate private private-admin }--[ ]--