From 8bae4712daefba6e408e3169be0b104b32d21830 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Wed, 17 Apr 2019 19:16:47 +0200 Subject: [PATCH] Remove deprecated code --- restic_volume_backup/containers.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/restic_volume_backup/containers.py b/restic_volume_backup/containers.py index 11f5668..5e1b172 100644 --- a/restic_volume_backup/containers.py +++ b/restic_volume_backup/containers.py @@ -188,21 +188,6 @@ class RunningContainers: if container.id != self.this_container.id: self.containers.append(container) - # for container in self.all_containers: - # # Weed out containers not beloging to this project. - # if container.project_name != self.backup_container.project_name: - # continue - - # # Keep only containers with backup enabled - # if not container.backup_enabled: - # continue - - # # and not oneoffs (started manually with run or similar) - # if container.is_oneoff: - # continue - - # self.containers.append(container) - # def gen_volumes(self, volume_type): # """Generator yielding volumes of a specific type""" # for cont in self.containers: