#NEWLINE# def __init__( self , hosts , failover = False ) : #NEWLINE# #INDENT# self . failover = failover #NEWLINE# if self . failover : #NEWLINE# #INDENT# if isinstance ( self , list ) : #NEWLINE# #INDENT# self . hosts = hosts #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . hosts = [ hosts ] #NEWLINE# #UNINDENT# #UNINDENT# self . host_index = 0