vm: make QubesVM objects hashable
This commit is contained in:
parent
8f7b0009db
commit
43ef244eaa
@ -86,6 +86,9 @@ class QubesVM(qubesadmin.base.PropertyHolder):
|
||||
return self.name == other
|
||||
return NotImplemented
|
||||
|
||||
def __hash__(self):
|
||||
return hash(self.name)
|
||||
|
||||
def start(self):
|
||||
'''
|
||||
Start domain.
|
||||
|
Loading…
Reference in New Issue
Block a user