From 09c3324978f5f7ddeec36f3ecb52f2d66f9546d9 Mon Sep 17 00:00:00 2001 From: Brian May Date: Tue, 20 Aug 2024 16:23:43 +1000 Subject: [PATCH] Revert "restore single quote then it looks working" This reverts commit d1dbed04a0e886945c6391c7ba6a2abee6336fa4. --- sshuttle/ssh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshuttle/ssh.py b/sshuttle/ssh.py index 8240631..d4451f5 100644 --- a/sshuttle/ssh.py +++ b/sshuttle/ssh.py @@ -115,8 +115,8 @@ def connect(ssh_cmd, rhostport, python, stderr, add_cmd_delimiter, remote_shell, pyscript = r""" import sys, os; verbosity=%d; - stdin = os.fdopen(0, 'rb'); - exec(compile(stdin.read(%d), 'assembler.py', 'exec')); + stdin = os.fdopen(0, "rb"); + exec(compile(stdin.read(%d), "assembler.py", "exec")); sys.exit(98); """ % (helpers.verbose or 0, len(content)) pyscript = re.sub(r'\s+', ' ', pyscript.strip())