aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/cleantrees.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/scripts/cleantrees.py')
-rw-r--r--mesonbuild/scripts/cleantrees.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/cleantrees.py b/mesonbuild/scripts/cleantrees.py
index 6feb9a7..1a38753 100644
--- a/mesonbuild/scripts/cleantrees.py
+++ b/mesonbuild/scripts/cleantrees.py
@@ -22,7 +22,7 @@ def rmtrees(build_dir: str, trees: T.List[str]) -> None:
for t in trees:
# Never delete trees outside of the builddir
if os.path.isabs(t):
- print('Cannot delete dir with absolute path {!r}'.format(t))
+ print(f'Cannot delete dir with absolute path {t!r}')
continue
bt = os.path.join(build_dir, t)
# Skip if it doesn't exist, or if it is not a directory