Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Dec 17, 2023
1 parent 33508c9 commit 30b447b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions paramiko/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -2727,7 +2727,7 @@ def _activate_inbound(self):
if self.agreed_on_strict_kex:
self._log(
DEBUG,
f"Resetting inbound seqno after NEWKEYS due to strict mode",
"Resetting inbound seqno after NEWKEYS due to strict mode",
)
self.packetizer.reset_seqno_in()

Expand All @@ -2741,7 +2741,7 @@ def _activate_outbound(self):
if self.agreed_on_strict_kex:
self._log(
DEBUG,
f"Resetting outbound sequence number after NEWKEYS due to strict mode",
"Resetting outbound seqno after NEWKEYS due to strict mode",
)
self.packetizer.reset_seqno_out()
block_size = self._cipher_info[self.local_cipher]["block-size"]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
TestServer as NullServer,
)
from ._loop import LoopSocket
from pytest import skip, mark, raises
from pytest import mark, raises


LONG_BANNER = """\
Expand Down Expand Up @@ -1422,12 +1422,12 @@ def __init__(self, *args, **kwargs):
# during initial kex.
setattr(
self.packetizer,
f"_Packetizer__sequence_number_in",
"_Packetizer__sequence_number_in",
sys.maxsize,
)
setattr(
self.packetizer,
f"_Packetizer__sequence_number_out",
"_Packetizer__sequence_number_out",
sys.maxsize,
)

Expand Down

0 comments on commit 30b447b

Please sign in to comment.