diff --git a/qubesadmin/label.py b/qubesadmin/label.py index 641ee6d..bd2645d 100644 --- a/qubesadmin/label.py +++ b/qubesadmin/label.py @@ -80,3 +80,6 @@ class Label(object): if isinstance(other, Label): return self.name == other.name return NotImplemented + + def __hash__(self): + return hash(self.name)