diff --git a/qubes/devices.py b/qubes/devices.py index a889a48b..fdc929c4 100644 --- a/qubes/devices.py +++ b/qubes/devices.py @@ -75,7 +75,7 @@ class DeviceAssignment(object): # pylint: disable=too-few-public-methods def __eq__(self, other): if not isinstance(self, other.__class__): - raise NotImplementedError + return NotImplemented return self.backend_domain == other.backend_domain \ and self.ident == other.ident