def _WriteFile(output_path, name, content):
  path = os.path.join(output_path, name)
  with open(path, 'wb') as f:
    f.write(content)
  return path
This method adds an on close callback that will be invoked by pika
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/endpointscfg.py/_WriteFile--crossover with--dataset/ETHPy150Open GetLevvel/message-simulator/src/rabbit_message_publisher.py/RabbitMessagePublisher.add_on_connection_close_callback