def load_ha_config_info(file_path=aws_ha_config_file):
  mydict = {} # useful if sns/sqs have not provided any info = no minion file yet
  try:
    mydict = yaml.load(open(file_path, "r").read())
  except Exception, e:
    print "Exception: %s" % e
    raise
  return mydict
Convert a MongoDB-compatible type to a Python type.
dataset/ETHPy150Open wcannon/saltconf2015/archived/salt/keymanager/sqs.py/load_ha_config_info--crossover with--dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/base/fields.py/BaseField.to_python