From 8ab69b9676fe61bf781dd59a2b409b8e45c4c142 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Tue, 5 Nov 2019 17:17:07 -0800 Subject: [PATCH] fix medley of typos --- libp2p/identity/identify/protocol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/identity/identify/protocol.py b/libp2p/identity/identify/protocol.py index 938e04b..75a7ba3 100644 --- a/libp2p/identity/identify/protocol.py +++ b/libp2p/identity/identify/protocol.py @@ -25,7 +25,7 @@ def identify_handler_for( ) -> StreamHandlerFn: async def handle_identify(stream: INetStream) -> None: peer_id = stream.muxed_conn.peer_id - logger.debug("received a request for % from %", ID, peer_id) + logger.debug("received a request for %s from %s", ID, peer_id) protobuf = Identify( protocol_version=PROTOCOL_VERSION, @@ -40,6 +40,6 @@ def identify_handler_for( await stream.write(response) await stream.close() - logger.debug("succesfully handled request for % from %", ID, peer_id) + logger.debug("successfully handled request for %s from %s", ID, peer_id) return handle_identify