dom0/qvm-backup: force correct default exclude_list

Treat "None" also as empty list.
This commit is contained in:
Marek Marczykowski 2012-02-29 03:16:31 +01:00
parent c013de4747
commit d7caf5cedc

View File

@ -323,6 +323,9 @@ def backup_prepare(base_backup_dir, vms_list = None, exclude_list = [], print_ca
files_to_backup = file_to_backup (qubes_store_filename)
if exclude_list is None:
exclude_list = []
if vms_list is None:
qvm_collection = QubesVmCollection()
qvm_collection.lock_db_for_reading()