#NEWLINE# def run( self , topic ) : #NEWLINE# #INDENT# while True : #NEWLINE# #INDENT# member_name = self . redis . srandmember ( topic ) #NEWLINE# if ( not member_name ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# if ( not self . matchmaker . is_alive ( topic , member_name ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# host = member_name . split ( '.' , 1 ) [ 1 ] #NEWLINE# return [ ( member_name , host ) ] #NEWLINE# #UNINDENT# return [ ]