From 5e9d405a91b4767543905d58c241ef82d2063639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 24 Oct 2019 21:34:14 +0200 Subject: [PATCH] Fix dev/images formatting --- tutor/commands/dev.py | 7 +------ tutor/commands/images.py | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/tutor/commands/dev.py b/tutor/commands/dev.py index 9afecc4..b44bcda 100644 --- a/tutor/commands/dev.py +++ b/tutor/commands/dev.py @@ -77,12 +77,7 @@ def stop(root): def docker_compose_run(root, edx_platform_path, edx_platform_settings, *command): - run_command = [ - "run", - "--rm", - "-e", - "SETTINGS={}".format(edx_platform_settings), - ] + run_command = ["run", "--rm", "-e", "SETTINGS={}".format(edx_platform_settings)] if edx_platform_path: run_command += ["--volume={}:/openedx/edx-platform".format(edx_platform_path)] run_command += command diff --git a/tutor/commands/images.py b/tutor/commands/images.py index 8a6f055..a92b84b 100644 --- a/tutor/commands/images.py +++ b/tutor/commands/images.py @@ -107,7 +107,8 @@ def push(root, image): config = tutor_config.load(root) for i in image: push_image(root, config, i) - + + def push_image(root, config, image): # Push base images for img in BASE_IMAGE_NAMES: