Merge remote-tracking branch 'qubesos/pr/7'
* qubesos/pr/7: fix TypeError
This commit is contained in:
commit
d4131b8092
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user