devices: include devclass when comparing devices

This commit is contained in:
Marek Marczykowski-Górecki 2018-09-29 14:13:06 +02:00
parent 4a1e90392b
commit 5414739272
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -94,6 +94,7 @@ class DeviceInfo(object):
def __eq__(self, other):
try:
return (
self.devclass == other.devclass and
self.backend_domain == other.backend_domain and
self.ident == other.ident
)