Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Commit

Permalink
Prevent deprecation warning during initialization
Browse files Browse the repository at this point in the history
- popen2 is not used anyway
  • Loading branch information
mkrauskopf authored and nominolo committed Mar 1, 2010
1 parent 359a7c2 commit 59e7c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vim_runtime_path/autoload/haskellcomplete.vim
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ endfunction

function! s:DefPython()
python << PYTHONEOF
import sys, tokenize, cStringIO, types, socket, string, vim, popen2, os
import sys, tokenize, cStringIO, types, socket, string, vim, os
from subprocess import Popen, PIPE

scion_log_stdout = vim.eval('exists("g:scion_log_stdout") && g:scion_log_stdout')
Expand Down Expand Up @@ -350,7 +350,7 @@ def evalscion(str):
try:
server_connection.send(str)
except:
vim.command('echom "%s"'% ("(re)connecting to scion"))
vim.command('echom "(re)connecting to scion"')
connectscion()
server_connection.send(str)
return server_connection.receive()
Expand Down

0 comments on commit 59e7c13

Please sign in to comment.