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