Fix flake8 errors
This commit is contained in:
parent
88bac786ba
commit
67f7402581
1 changed files with 9 additions and 4 deletions
|
|
@ -18,6 +18,9 @@ from collections import defaultdict
|
|||
import vim
|
||||
import os
|
||||
|
||||
import json
|
||||
from vimspector import utils
|
||||
|
||||
|
||||
class ProjectBreakpoints( object ):
|
||||
def __init__( self ):
|
||||
|
|
@ -54,7 +57,7 @@ class ProjectBreakpoints( object ):
|
|||
self._connection = None
|
||||
|
||||
# for each breakpoint:
|
||||
# clear its resolved status
|
||||
# clear its resolved status
|
||||
|
||||
|
||||
def ListBreakpoints( self ):
|
||||
|
|
@ -140,13 +143,15 @@ class ProjectBreakpoints( object ):
|
|||
self._ShowBreakpoints()
|
||||
|
||||
|
||||
# FIXME: Remove this temporary compat .layer
|
||||
def SetBreakpointsHandler( self, handler ):
|
||||
# FIXME: Remove this temporary compat .layer
|
||||
self._breakpoints_handler = handler
|
||||
|
||||
|
||||
def SendBreakpoints( self ):
|
||||
if not self._breakpoints_handler:
|
||||
handler = lambda source, msg: self._ShowBreakpoints()
|
||||
def handler( source, msg ):
|
||||
return self._ShowBreakpoints()
|
||||
else:
|
||||
handler = self._breakpoints_handler
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue