From 1e43c91d8548ceb2cad407c246b80f2acec0f6f6 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Tue, 16 Apr 2019 02:22:23 +0200 Subject: [PATCH] Remove test code in utils --- restic_volume_backup/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/restic_volume_backup/utils.py b/restic_volume_backup/utils.py index f6d3406..14d5428 100644 --- a/restic_volume_backup/utils.py +++ b/restic_volume_backup/utils.py @@ -1,12 +1,11 @@ import docker -import pprint from restic_volume_backup.config import Config def list_containers(): + """Easily mockable container list""" client = docker.Client(base_url=Config.docker_base_url) all_containers = client.containers() - pprint.pprint(all_containers, indent=2) client.close() return all_containers