Skip to content

Commit ee1b93c

Browse files
committed
Linting #2
1 parent 06a2af3 commit ee1b93c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

netmiko/checkpoint/checkpoint_gaia_ssh.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class CheckPointGaiaSSH(NoConfig, BaseConnection):
1010
Implements methods for communicating with Check Point Gaia
1111
firewalls.
1212
"""
13+
1314
prompt_pattern = r"[>#]"
1415

1516
def session_preparation(self) -> None:
@@ -33,9 +34,7 @@ def command_echo_read(self, cmd: str, read_timeout: float) -> str:
3334
pattern = rf"{self.prompt_pattern}\s{re_cmd}"
3435

3536
# Make sure you read until you detect the command echo (avoid getting out of sync)
36-
new_data = self.read_until_pattern(
37-
pattern=pattern, read_timeout=read_timeout
38-
)
37+
new_data = self.read_until_pattern(pattern=pattern, read_timeout=read_timeout)
3938

4039
# There can be echoed prompts that haven't been cleared before the cmd echo
4140
# this can later mess up the trailing prompt pattern detection. Clear this out.

0 commit comments

Comments
 (0)