def read_file(self):
        try:
            f = open(self._fileloc, 'rb')
        except __HOLE__:
            print "Couldn't get server list at {0}".format(fileloc)
            return []

        srv = json.load(f)
        f.close()
        if len(srv) > 0:
            srv = [s for s in srv if utils.test_connection(s['port'])]

        return srv
dataset/ETHPy150Open medek/elixir_complete.vim/python/ecclient/server_list.py/ServerList.read_file