backups: minor fixes

This commit is contained in:
Marek Marczykowski-Górecki 2014-09-28 03:13:15 +02:00
parent 77da00e3ca
commit 55d89698a3

View File

@ -1615,11 +1615,13 @@ def restore_info_verify(restore_info, host_collection):
return restore_info
def backup_restore_prepare(backup_location, passphrase, options = {},
def backup_restore_prepare(backup_location, passphrase, options = None,
host_collection = None, encrypted=False, appvm=None,
compressed = False, print_callback = print_stdout, error_callback = print_stderr,
format_version=None, hmac_algorithm=DEFAULT_HMAC_ALGORITHM,
crypto_algorithm=DEFAULT_CRYPTO_ALGORITHM):
if options is None:
options = {}
# Defaults
backup_restore_set_defaults(options)
# Options introduced in backup format 3+, which always have a header,