mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 18:49:34 +02:00
bitbake: uievent: Fix import warning for python 3.10
(Bitbake rev: bf1de5988698c797403ecd30edda99a76e9c02dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -44,7 +44,7 @@ class BBUIEventQueue:
|
|||||||
for count_tries in range(5):
|
for count_tries in range(5):
|
||||||
ret = self.BBServer.registerEventHandler(self.host, self.port)
|
ret = self.BBServer.registerEventHandler(self.host, self.port)
|
||||||
|
|
||||||
if isinstance(ret, collections.Iterable):
|
if isinstance(ret, collections.abc.Iterable):
|
||||||
self.EventHandle, error = ret
|
self.EventHandle, error = ret
|
||||||
else:
|
else:
|
||||||
self.EventHandle = ret
|
self.EventHandle = ret
|
||||||
|
|||||||
Reference in New Issue
Block a user