Skip to content

Commit aa72013

Browse files
committed
Don't do the useless quoting
1 parent 2a83d1a commit aa72013

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bench_runner/scripts/install.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import functools
88
import io
99
from pathlib import Path
10-
import shlex
1110
import shutil
1211
import sys
1312
from typing import Any
@@ -142,8 +141,7 @@ def generate__benchmark(src: Any) -> Any:
142141
"name": "Setup environment",
143142
"run": LiteralScalarString(
144143
"\n".join(
145-
f'echo "{key}={shlex.quote(val)}" >> {github_env}'
146-
for key, val in vars.items()
144+
f'echo "{key}={val}" >> {github_env}' for key, val in vars.items()
147145
)
148146
),
149147
}

0 commit comments

Comments
 (0)