Tidy API and document scopes
This commit is contained in:
parent
0650b5a514
commit
e5405ac059
3 changed files with 12 additions and 5 deletions
|
|
@ -119,6 +119,6 @@ class DebugAdapterConnection( object ):
|
|||
message[ 'message' ] ) )
|
||||
|
||||
elif message[ 'type' ] == 'event':
|
||||
method = '_OnEvent_' + message[ 'event' ]
|
||||
method = 'OnEvent_' + message[ 'event' ]
|
||||
if method in dir( self._handler ) and getattr( self._handler, method ):
|
||||
getattr( self._handler, method )( message )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue