Merge remote-tracking branch 'qubesos/pr/24'

* qubesos/pr/24:
  Nicely print list of excluded VMs
This commit is contained in:
Marek Marczykowski-Górecki 2016-03-14 23:01:15 +01:00
commit c036a85579
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -357,8 +357,8 @@ def backup_prepare(vms_list=None, exclude_list=None,
vms_not_for_backup = [vm.name for vm in qvm_collection.values()
if not vm.backup_content]
print_callback("VMs not selected for backup: %s" % " ".join(
vms_not_for_backup))
print_callback("VMs not selected for backup:\n%s" % "\n".join(sorted(
vms_not_for_backup)))
if there_are_running_vms:
raise QubesException("Please shutdown all VMs before proceeding.")