vm/adminvm: make AdminVM sortable
One more thing gone during changing AdminVM base class.
This commit is contained in:
parent
86a935e779
commit
e4d285d479
@ -52,6 +52,10 @@ class AdminVM(qubes.vm.BaseVM):
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
def __lt__(self, other):
|
||||
# order dom0 before anything
|
||||
return self.name != other.name
|
||||
|
||||
@property
|
||||
def attached_volumes(self):
|
||||
return []
|
||||
|
Loading…
Reference in New Issue
Block a user