Skip to content

Commit 097330b

Browse files
authored
Merge pull request ceph#65891 from kshtsk/wip-workunit-drop-pipes
qa/tasks/workunit: fix no module named 'pipes'
2 parents 2e3003d + da40484 commit 097330b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qa/tasks/workunit.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Workunit task -- Run ceph on sets of specific clients
33
"""
44
import logging
5-
import pipes
65
import os
76
import re
87
import shlex
@@ -405,7 +404,7 @@ def _run_tests(ctx, refspec, role, tests, env, basedir,
405404
]
406405
if env is not None:
407406
for var, val in env.items():
408-
quoted_val = pipes.quote(val)
407+
quoted_val = shlex.quote(val)
409408
env_arg = '{var}={val}'.format(var=var, val=quoted_val)
410409
args.append(run.Raw(env_arg))
411410
if coverage_and_limits:

0 commit comments

Comments
 (0)