Skip to content

Commit c1f9fcd

Browse files
committed
removed double quotes from interpolated string for compatibility
1 parent 62b82cf commit c1f9fcd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/client/multi-image/scan_docker_image_lite.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,13 @@ def __init__(
254254
def prepare_container_image(self):
255255
self.docker.initdir()
256256
result = self.docker.pull_container_image(self.container_image_name)
257-
logging.debug(f"Command {" ".join(result.args)} exited with returncode {result.returncode}")
257+
logging.debug(f"Command {' '.join(result.args)} exited with returncode {result.returncode}")
258258
result = self.docker.save_container_image(self.container_image_name)
259259
if result.returncode:
260-
raise Exception (f"Command {" ".join(result.args)} failed with returncode {result.returncode} error = {result.stdout}")
260+
raise Exception (f"Command {' '.join(result.args)} failed with returncode {result.returncode} error = {result.stdout}")
261261
result = self.docker.unravel_container()
262262
if result.returncode:
263-
raise Exception (f"Command {" ".join(result.args)} failed with returncode {result.returncode} error = {result.stdout}")
263+
raise Exception (f"Command {' '.join(result.args)} failed with returncode {result.returncode} error = {result.stdout}")
264264
# result = self.docker.get_container_image_history(self.container_image_name)
265265
history = self.docker.read_config()['history']
266266
layer_count = 0

0 commit comments

Comments
 (0)