Fix errors reported by flake8
This commit is contained in:
parent
716181e056
commit
50dc55e0e8
1 changed files with 2 additions and 2 deletions
|
|
@ -77,12 +77,12 @@ def OpenFileInCurrentWindow( file_name ):
|
|||
buffer_number = BufferNumberForFile( file_name )
|
||||
try:
|
||||
if "vimspectorStep" in vim.current.buffer.vars:
|
||||
del vim.current.buffer.vars["vimspectorStep"]
|
||||
del vim.current.buffer.vars[ "vimspectorStep" ]
|
||||
# @todo: what if the same buffer is still visited by another thread
|
||||
vim.command( 'doautocmd <nomodeline> User VimspectorFrameLeavePre' )
|
||||
|
||||
vim.current.buffer = vim.buffers[ buffer_number ]
|
||||
vim.current.buffer.vars["vimspectorStep"] = 1
|
||||
vim.current.buffer.vars[ "vimspectorStep" ] = 1
|
||||
vim.command( 'doautocmd <nomodeline> User VimspectorFrameEnter' )
|
||||
except vim.error as e:
|
||||
if 'E325' not in str( e ):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue