Skip to content

Commit 3dccfc5

Browse files
committed
fmt
1 parent 0d6f2c0 commit 3dccfc5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/replit_river/server_transport.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ async def _establish_handshake(
236236
client_next_expected_seq = (
237237
handshake_request.expectedSessionState.nextExpectedSeq
238238
)
239-
client_next_sent_seq = (
240-
handshake_request.expectedSessionState.nextSentSeq or 0
241-
)
239+
client_next_sent_seq = handshake_request.expectedSessionState.nextSentSeq or 0
242240
if old_session and old_session.session_id == handshake_request.sessionId:
243241
# check invariants
244242
# ordering must be correct
@@ -275,7 +273,6 @@ async def _establish_handshake(
275273
await old_session.close()
276274
old_session = None
277275

278-
279276
if not old_session and (
280277
client_next_sent_seq > 0 or client_next_expected_seq > 0
281278
):

0 commit comments

Comments
 (0)