mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 16:03:57 +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"""
|
||||
import sys;
|
||||
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))
|
||||
pyscript = re.sub(r'\s+', ' ', pyscript.strip())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user