We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef37443 commit 230c03cCopy full SHA for 230c03c
execnet/gateway_base.py
@@ -14,7 +14,6 @@
14
"""
15
from __future__ import with_statement
16
17
-import linecache
18
import os
19
import struct
20
import sys
@@ -1077,9 +1076,6 @@ def executetask(self, item):
1077
1076
name = name.encode("ascii")
1078
newkwargs[name] = value
1079
kwargs = newkwargs
1080
- if source is None:
1081
- assert file_name, file_name
1082
- source = "".join(linecache.updatecache(file_name))
1083
loc = {"channel": channel, "__name__": "__channelexec__"}
1084
self._trace("execution starts[%s]: %s" % (channel.id, repr(source)[:50]))
1085
channel._executing = True
0 commit comments