vm/adminvm: fix str(AdminVM) after changing its base

BaseVM have no (useful) __str__ method.
This commit is contained in:
Marek Marczykowski-Górecki 2017-06-12 10:15:13 +02:00
parent 26f25aeecd
commit e8c303977b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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 []