summaryrefslogtreecommitdiffstats
path: root/src/utils/legacy.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-15 17:30:43 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-15 17:31:16 +0100
commit41cf2eb229be1f076041cf68265cb853272a6477 (patch)
tree033dea35e8e61f67359e211c3c0e7b7299b5b121 /src/utils/legacy.py
parent6c49815d73269fb83fb7d5a7b641da2c5a54ceb3 (diff)
utils: use f-string in raise ValueError in run_lzop_partcloneinfo()
Otherwise it shows: ValueError: Unable to process image {image_path}
Diffstat (limited to 'src/utils/legacy.py')
-rw-r--r--src/utils/legacy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/legacy.py b/src/utils/legacy.py
index def5459..0f6c53c 100644
--- a/src/utils/legacy.py
+++ b/src/utils/legacy.py
@@ -100,7 +100,7 @@ def run_lzop_partcloneinfo(image_path):
p2_out, p2_err = p2.communicate()
if p2.returncode != 0:
- raise ValueError('Unable to process image {image_path}')
+ raise ValueError(f'Unable to process image {image_path}')
return p2_out