devices: include devclass when comparing devices
This commit is contained in:
parent
4a1e90392b
commit
5414739272
@ -94,6 +94,7 @@ class DeviceInfo(object):
|
|||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
try:
|
try:
|
||||||
return (
|
return (
|
||||||
|
self.devclass == other.devclass and
|
||||||
self.backend_domain == other.backend_domain and
|
self.backend_domain == other.backend_domain and
|
||||||
self.ident == other.ident
|
self.ident == other.ident
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user