[elbe-devel] [PATCH 7/8] elbepack: debinstaller: avoid nested quoting
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Wed May 15 13:32:23 CEST 2024
This syntax is hard to read.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/debinstaller.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/debinstaller.py b/elbepack/debinstaller.py
index 4024b231175d..53cf916c19b6 100644
--- a/elbepack/debinstaller.py
+++ b/elbepack/debinstaller.py
@@ -212,7 +212,7 @@ def copy_kinitrd(prj, target_dir):
tmp = TmpdirFilesystem()
if prj.has('mirror/cdrom'):
subprocess.run([
- '7z', 'x', f'-o{tmp.fname("/")}',
+ '7z', 'x', '-o' + tmp.fname('/'),
prj.text('mirror/cdrom'),
'initrd-cdrom.gz', 'vmlinuz',
], check=True)
--
2.45.0
More information about the elbe-devel
mailing list