Python 3.5 fix.

This commit is contained in:
Brian May 2015-12-01 10:29:24 +11:00
parent 43d6ad6a51
commit 36a1d7ead9

View File

@ -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())