Skip to content

Commit

Permalink
fixed deprecation warning t.isAlive
Browse files Browse the repository at this point in the history
replaced the deprecated t.isAlive() with t.is_alice()
  • Loading branch information
gerzin authored May 6, 2020
1 parent 0b98d75 commit 0cd58b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/libclang.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def getCurrentCompletions(base):
t = CompleteThread(line, column, getCurrentFile(), vim.current.buffer.name,
params, timer)
t.start()
while t.isAlive():
while t.is_alive():
t.join(0.01)
cancel = int(vim.eval('complete_check()'))
if cancel != 0:
Expand Down

0 comments on commit 0cd58b0

Please sign in to comment.