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

* qubesos/pr/7:
  fix TypeError
This commit is contained in:
Marek Marczykowski-Górecki 2016-07-08 01:07:33 +02:00
commit d4131b8092
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -154,7 +154,7 @@ class QubesBlockDevicesManager():
if len(serves_for) > 0: if len(serves_for) > 0:
msg = "VM <b>" + vm.name + "</b> attaches block devices to other VMs: " msg = "VM <b>" + vm.name + "</b> attaches block devices to other VMs: "
msg += ', '.join(["<b>"+v+"</b>("+d+")" for (d,v) in serves_for ]) msg += ', '.join(["<b>"+v.name+"</b>("+d+")" for (d,v) in serves_for ])
msg += ".<br><br> Shutting the VM down will dettach the devices from them." msg += ".<br><br> Shutting the VM down will dettach the devices from them."
QMessageBox.warning (None, "Warning!", msg) QMessageBox.warning (None, "Warning!", msg)