Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

small fixes to execnet_repl

  • Loading branch information...
commit 748553342bb8575447ab96a68addbd3eae1a748a 1 parent 94e859e
@wuub wuub authored
Showing with 4 additions and 1 deletion.
  1. +1 −1  lang_integration.py
  2. +3 −0  repls/execnet_repl.py
View
2  lang_integration.py
@@ -137,7 +137,7 @@ def on_ssh_select(self, host_string):
ch = gw.remote_exec(VENV_SCAN_CODE)
with closing(ch):
ch.send(venv_paths)
- directories = ch.receive(10)
+ directories = ch.receive(60)
gw.exit()
choices = [[host_string + ":" + path.split(os.path.sep)[-2], path] for path in sorted(directories)]
View
3  repls/execnet_repl.py
@@ -5,6 +5,9 @@
import execnet
REMOTE_CODE = """
+from __future__ import with_statement
+from __future__ import division
+from __future__ import absolute_import
#if '{activate_file}':
# execfile('{activate_file}', dict(__file__='{activate_file}'))
Please sign in to comment.
Something went wrong with that request. Please try again.