File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -78,20 +78,6 @@ def sendexec(io, *sources):
7878 io .write ((repr (source ) + "\n " ).encode ("utf-8" ))
7979
8080
81- def fix_pid_for_jython_popen (gw ):
82- """
83- fix for jython 2.5.1
84- """
85- spec , io = gw .spec , gw ._io
86- if spec .popen and not spec .via :
87- # XXX: handle the case of remote being jython
88- # and not having the popen pid
89- if io .popen .pid is None :
90- io .popen .pid = gw .remote_exec (
91- "import os; channel.send(os.getpid())"
92- ).receive ()
93-
94-
9581def bootstrap (io , spec ):
9682 if spec .popen :
9783 if spec .via or spec .python :
@@ -105,5 +91,4 @@ def bootstrap(io, spec):
10591 else :
10692 raise ValueError ("unknown gateway type, can't bootstrap" )
10793 gw = Gateway (io , spec )
108- fix_pid_for_jython_popen (gw )
10994 return gw
You can’t perform that action at this time.
0 commit comments