def get_search_location():
  try:
    return file_io.read(constants.SEARCH_FILE_LOC).rstrip()
  except IOError:
    logging.warning("Search role is not configured.")
    return ""
L{CooperativeTask.whenDone} will return a L{defer.Deferred} that will
dataset/ETHPy150Open AppScale/appscale/lib/appscale_info.py/get_search_location--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/test/test_cooperator.py/RunStateTests.test_whenDoneAlreadyDone