bundles/backup-client: use set instead of list

This commit is contained in:
Franzi 2023-04-01 06:58:48 +02:00
parent 60fc0e64e7
commit 9a6be52b05
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -19,12 +19,12 @@ else:
if node.metadata.get('backups/exclude_from_backups', False):
# make sure nobody tries to do something funny
for file in [
for file in {
'/etc/backup.priv',
'/usr/local/bin/generate-backup',
'/usr/local/bin/generate-backup-with-retries',
'/var/tmp/backup.monitoring', # status file
]:
}:
files[file] = {
'delete': True,
}