Ubuntu-Solutions-Engineering/glance-simplestreams-sync-charm — pull request #23 by mikemccracken (2014-07-29 22:19:08+00:00)
Title: Retry connecting to rabbitmq at each message

If no connection exists, retry connecting to rabbit for each message sent.
Handles cases where rabbit is late to start, so we still deliver as many messages as possible.

Also adds a main() to avoid stupid globals() leakage.