aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/gentoolkit/test/eclean/distsupport.py')
-rw-r--r--pym/gentoolkit/test/eclean/distsupport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/test/eclean/distsupport.py b/pym/gentoolkit/test/eclean/distsupport.py
index 58f5624..9ea0c8d 100644
--- a/pym/gentoolkit/test/eclean/distsupport.py
+++ b/pym/gentoolkit/test/eclean/distsupport.py
@@ -499,7 +499,7 @@ class TestDisfiles:
self.workdir = os.path.join(self.tmpdir, "distfiles")
dir = os.path.dirname(os.path.abspath(__file__))
file = os.path.join(dir, "testdistfiles.tar.gz")
- command = "tar -xpf %s -C %s" % (file, self.tmpdir)
+ command = f"tar -xpf {file} -C {self.tmpdir}"
subprocess.call(command, shell=True)
# create a symlink as part of the test files
# print()