From 362ff67a0e958ec0d06ff223c73d57cd20310c77 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 17 Feb 2022 13:51:57 +0100 Subject: vidhar: ... --- hosts/vidhar/borg/copy.py | 1 + 1 file changed, 1 insertion(+) (limited to 'hosts') diff --git a/hosts/vidhar/borg/copy.py b/hosts/vidhar/borg/copy.py index 155ada7a..e574f2e0 100755 --- a/hosts/vidhar/borg/copy.py +++ b/hosts/vidhar/borg/copy.py @@ -64,6 +64,7 @@ class ToSync: src = read_repo(args.source) dst = read_repo(args.target) + self.to_sync = set() for entry in src: if entry['name'] not in {dst_entry['name'] for dst_entry in dst} and not entry['name'].endswith('.checkpoint'): self.to_sync.add(entry) -- cgit v1.2.3