From baf5c90dbef81c8e3af363531e5e041a8238fa82 Mon Sep 17 00:00:00 2001 From: Markus Bach Date: Thu, 7 Jul 2016 18:16:16 +0200 Subject: [PATCH] fix TypeError fixes QubesOS/qubes-issues#2156 --- qubesmanager/block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/block.py b/qubesmanager/block.py index cec4c73..a826a1e 100644 --- a/qubesmanager/block.py +++ b/qubesmanager/block.py @@ -154,7 +154,7 @@ class QubesBlockDevicesManager(): if len(serves_for) > 0: msg = "VM " + vm.name + " attaches block devices to other VMs: " - msg += ', '.join([""+v+"("+d+")" for (d,v) in serves_for ]) + msg += ', '.join([""+v.name+"("+d+")" for (d,v) in serves_for ]) msg += ".

Shutting the VM down will dettach the devices from them." QMessageBox.warning (None, "Warning!", msg)