From 3918062bb735085c9912bc0fec0de59d8acfc7e8 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Fri, 9 Jul 2021 16:47:05 +0200 Subject: [PATCH] Formatting: remove semicolon Some people write too much C or Typescript :-) Part of the #717 PR-group. --- ipykernel/debugger.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ipykernel/debugger.py b/ipykernel/debugger.py index f0b9dbf62..9c744eefa 100644 --- a/ipykernel/debugger.py +++ b/ipykernel/debugger.py @@ -294,9 +294,9 @@ async def dumpCell(self, message): return reply async def setBreakpoints(self, message): - source = message['arguments']['source']['path']; - self.breakpoint_list[source] = message['arguments']['breakpoints'] - return await self._forward_message(message); + source = message["arguments"]["source"]["path"] + self.breakpoint_list[source] = message["arguments"]["breakpoints"] + return await self._forward_message(message) async def source(self, message): reply = { @@ -304,7 +304,7 @@ async def source(self, message): 'request_seq': message['seq'], 'command': message['command'] } - source_path = message['arguments']['source']['path']; + source_path = message["arguments"]["source"]["path"] if os.path.isfile(source_path): with open(source_path) as f: reply['success'] = True @@ -389,7 +389,7 @@ async def configurationDone(self, message): 'success': True, 'command': message['command'] } - return reply; + return reply async def debugInfo(self, message): breakpoint_list = []