Permalink
Browse files

Fix debugger connection not establishing.

Non-blocking socket listener function was not returning the socket and
address. Introduced this when I moved the listener into its own function
and didn't test my work :)
  • Loading branch information...
1 parent 72bbb27 commit f0fdaf74c006671a5bfe8a831473c47d1f193077 @artnez committed Aug 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/python/vdebug/dbgp.py
View
2 plugin/python/vdebug/dbgp.py
@@ -421,7 +421,7 @@ def listen(self, serv, timeout):
raise socket.timeout
try:
vim.eval("getchar(0)")
- (self.sock, self.address) = serv.accept()
+ return serv.accept()
except socket.error:
pass
except vim.error:

0 comments on commit f0fdaf7

Please sign in to comment.