Revert "restore single quote then it looks working"

This reverts commit d1dbed04a0.
This commit is contained in:
Brian May 2024-08-20 16:23:43 +10:00
parent 81532b29a9
commit 09c3324978

View File

@ -115,8 +115,8 @@ def connect(ssh_cmd, rhostport, python, stderr, add_cmd_delimiter, remote_shell,
pyscript = r""" pyscript = r"""
import sys, os; import sys, os;
verbosity=%d; verbosity=%d;
stdin = os.fdopen(0, 'rb'); stdin = os.fdopen(0, "rb");
exec(compile(stdin.read(%d), 'assembler.py', 'exec')); exec(compile(stdin.read(%d), "assembler.py", "exec"));
sys.exit(98); sys.exit(98);
""" % (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())