vm/adminvm: fix str(AdminVM) after changing its base
BaseVM have no (useful) __str__ method.
This commit is contained in:
parent
26f25aeecd
commit
e8c303977b
@ -49,6 +49,9 @@ class AdminVM(qubes.vm.BaseVM):
|
||||
default='00000000-0000-0000-0000-000000000000',
|
||||
setter=qubes.property.forbidden)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
@property
|
||||
def attached_volumes(self):
|
||||
return []
|
||||
|
Loading…
Reference in New Issue
Block a user