[fix] error on special env variables #6032

This commit is contained in:
GCS-ZHN 2024-12-31 17:57:21 +08:00 committed by GitHub
parent af06d162cf
commit 3de9b42f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ def run_on_host(
fab_conn = fabric.Connection(hostinfo.hostname, port=hostinfo.port) fab_conn = fabric.Connection(hostinfo.hostname, port=hostinfo.port)
finish = False finish = False
env_msg = " ".join([f'{k}="{v}"' for k, v in env.items()]) env_msg = " ".join([f"{k}='{v}'" for k, v in env.items()])
# keep listening until exit # keep listening until exit
while not finish: while not finish: