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: