Skip to content

Commit

Permalink
Merge pull request #3838 from luckyh/drop-pipes
Browse files Browse the repository at this point in the history
Deprecate pipes module
  • Loading branch information
luckyh authored Feb 2, 2024
2 parents 85258d3 + ddc15ca commit b7d60b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions avocado_vt/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import os
import sys
import pipes
import shlex

from avocado.core import exceptions
from avocado.core import test
Expand Down Expand Up @@ -173,8 +173,8 @@ def setUp(self):
archive = os.path.join(os.path.dirname(
libvirtd_log), "libvirtd.tar.gz")
cmd = ("tar -zcf %s -P %s"
% (pipes.quote(archive),
pipes.quote(libvirtd_log)))
% (shlex.quote(archive),
shlex.quote(libvirtd_log)))
if process.system(cmd) == 0:
os.remove(libvirtd_log)
else:
Expand Down

0 comments on commit b7d60b2

Please sign in to comment.