mirror of https://git.48k.eu/ogclient
utils: use f-string in raise ValueError in run_lzop_partcloneinfo()
Otherwise it shows: ValueError: Unable to process image {image_path}master
parent
6c49815d73
commit
41cf2eb229
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue