mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-26 09:53:40 +01:00
Python 3.5 fix.
This commit is contained in:
parent
43d6ad6a51
commit
36a1d7ead9
@ -91,7 +91,7 @@ def connect(ssh_cmd, rhostport, python, stderr, options):
|
|||||||
pyscript = r"""
|
pyscript = r"""
|
||||||
import sys;
|
import sys;
|
||||||
verbosity=%d;
|
verbosity=%d;
|
||||||
exec compile(sys.stdin.read(%d), "assembler.py", "exec")
|
exec(compile(sys.stdin.read(%d), "assembler.py", "exec"))
|
||||||
""" % (helpers.verbose or 0, len(content))
|
""" % (helpers.verbose or 0, len(content))
|
||||||
pyscript = re.sub(r'\s+', ' ', pyscript.strip())
|
pyscript = re.sub(r'\s+', ' ', pyscript.strip())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user