def get_info(config_file=CONFIG_FILE):
  #instancedns=`curl -s http://169.254.169.254/latest/meta-data/public-hostname`
  try:
    contents = open(config_file, 'r').read()
    info_dict = yaml.load(contents)
  except Exception, e:
    print "Unable to load config file contents %s" % config_file
    print e % "Exception: %s"
    raise
  return info_dict
dataset/ETHPy150Open wcannon/saltconf2015/archived/s3_bucket_contents_solution_1/aws_scripts/dns_update.py/get_info/swapped operands of `%`