def get_db_slave_ips():
 nodes = file_io.read(constants.SLAVES_FILE_LOC).rstrip()
 nodes = nodes.split('\n')
 if (nodes[(-1)] == ''):
  nodes = nodes[:(-1)]
 return nodes

def get_db_slave_ips ( ) : nodes = file_io . read ( constants . SLAVES_FILE_LOC ) . rstrip ( ) nodes = nodes . split ( '\n' ) if ( nodes [ ( - 1 ) ] == '' ) : nodes = nodes [ : ( - 1 ) ] return nodes
returns the slave datastore ips .