Skip to content

Commit 674cf71

Browse files
authored
Merge pull request #2862 from metomi/2.4.x-sync
🤖 Merge 2.4.x-sync into master
2 parents 6ba4e82 + 0709877 commit 674cf71

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

metomi/rose/apps/fcm_make.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
from contextlib import suppress
2020
import os
21-
from pipes import quote
2221
import shlex
2322
import sys
2423
from tempfile import mkdtemp
@@ -135,7 +134,7 @@ def _invoke_fcm_make(
135134
"! test -e %(name)s/%(uuid)s && "
136135
+ "(ls -d %(name)s || true) && rm -fr %(name)s"
137136
)
138-
% {"name": quote(name), "uuid": uuid},
137+
% {"name": shlex.quote(name), "uuid": uuid},
139138
)
140139
out = app_runner.popen.run_ok(*cmd)[0]
141140
for line in out.splitlines():

0 commit comments

Comments
 (0)