This never returns with None
This commit is contained in:
parent
00300f5b2f
commit
62d4bc48e8
@ -46,8 +46,10 @@ class ConsumerLocator:
|
|||||||
:returns: None
|
:returns: None
|
||||||
"""
|
"""
|
||||||
recievedconsumerlist = self.communicator.discoveravailableconsumers()
|
recievedconsumerlist = self.communicator.discoveravailableconsumers()
|
||||||
if recievedconsumerlist is None:
|
if not recievedconsumerlist:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
for recconsumer in recievedconsumerlist:
|
for recconsumer in recievedconsumerlist:
|
||||||
contains = False
|
contains = False
|
||||||
for consumer in self.red.consumerlist:
|
for consumer in self.red.consumerlist:
|
||||||
|
Reference in New Issue
Block a user