backup: mark 'encryption' option as deprecated - all backups are encrypted

QubesOS/qubes-issues#971
This commit is contained in:
Marek Marczykowski-Górecki 2016-10-25 22:11:39 +02:00
parent 51b66208f3
commit 49e718cf57
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -376,7 +376,9 @@ class Backup(object):
self.log = logging.getLogger('qubes.backup')
self.compression_filter = DEFAULT_COMPRESSION_FILTER
if not self.encrypted:
self.log.warning('\'encrypted\' option is ignored, backup is '
'always encrypted')
if exclude_list is None:
exclude_list = []