Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ipykernel/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,17 +294,17 @@ 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 = {
'type': 'response',
'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
Expand Down Expand Up @@ -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 = []
Expand Down