From b5951e484c275b6c6f89ec2fb8ba15be904bc214 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Thu, 18 Apr 2019 05:12:08 +0200 Subject: [PATCH] Remove old debug method --- restic_volume_backup/containers.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/restic_volume_backup/containers.py b/restic_volume_backup/containers.py index 5b7f68b..6983e23 100644 --- a/restic_volume_backup/containers.py +++ b/restic_volume_backup/containers.py @@ -137,17 +137,6 @@ class Container: return value.split(',') - def to_dict(self): - return { - 'Id': self.id, - 'Names': self.names, - 'State': self.state, - 'Labels': self.labels, - 'Mounts': [mnt.data for mnt in self.mounts], - 'include': self.include, - 'exclude': self.exlude, - } - class Mount: """Represents a volume mount (volume or bind)"""