From 3724d6fca17539d2cf60265dc6789b01ced84db6 Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Fri, 2 Oct 2015 12:32:33 +0200 Subject: [PATCH] qubes/vm/qubesvm: fix core2 compatibility --- qubes/vm/qubesvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 7181fd38..a94cdf27 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -1670,7 +1670,7 @@ class QubesVM(qubes.vm.BaseVM): '''Create entries in Qubes DB. ''' self.qdb.write("/name", self.name) - self.qdb.write("/qubes-vm-type", self.type) + self.qdb.write("/qubes-vm-type", self.__class__.__name__) self.qdb.write("/qubes-vm-updateable", str(self.updateable)) if self.provides_network: