uievent: Fix import warning for python 3.10
PATCH 1/1 uievent: Fix import warning for python 3.10
Signed-off-by Richard Purdie <[email protected]>
--- lib/bb/ui/uievent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/ui/uievent.py +1 -1
@@ -44,7 +44,7 @@ class BBUIEventQueue: for count_tries in range(5): ret = self.BBServer.registerEventHandler(self.host, self.port) - if isinstance(ret, collections.Iterable): + if isinstance(ret, collections.abc.Iterable): self.EventHandle, error = ret else: self.EventHandle = ret
Signature · 1 line
2.32.0